auth

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 18, 2026 License: MIT Imports: 15 Imported by: 0

Documentation

Overview

Package auth implements OAuth2 Authorization Code + PKCE for CLI login.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Login

func Login(server string) (*config.Credential, error)

Login runs the full OAuth2 Authorization Code + PKCE flow. Returns a credential to store.

func RefreshToken

func RefreshToken(server string, cred *config.Credential) (*config.Credential, error)

RefreshToken attempts to refresh the access token.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL