auth

package
v1.261010.0 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2026 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthCommand

func AuthCommand() *ffcli.Command

Auth command factory

func AuthDoctorCommand

func AuthDoctorCommand() *ffcli.Command

AuthDoctor command factory

func AuthExportToConfigCommand added in v1.260610.0

func AuthExportToConfigCommand() *ffcli.Command

AuthExportToConfigCommand copies keychain-backed credentials to config.json.

func AuthInitCommand

func AuthInitCommand() *ffcli.Command

AuthInit command factory

func AuthIssuerIDCommand

func AuthIssuerIDCommand() *ffcli.Command

AuthIssuerIDCommand prints the active App Store Connect issuer ID.

func AuthLoginCommand

func AuthLoginCommand() *ffcli.Command

AuthLogin command factory

func AuthLogoutCommand

func AuthLogoutCommand() *ffcli.Command

AuthLogout command factory

func AuthStatusCommand

func AuthStatusCommand() *ffcli.Command

AuthStatus command factory

func AuthSwitchCommand

func AuthSwitchCommand() *ffcli.Command

AuthSwitch command factory

func AuthTokenCommand

func AuthTokenCommand() *ffcli.Command

AuthTokenCommand prints a signed JWT for direct API calls.

func NewPermissionWarning

func NewPermissionWarning(err error) error

NewPermissionWarning builds a permission warning error for tests.

func SetKeychainAvailable added in v1.260825.0

func SetKeychainAvailable(fn func() (bool, error)) func()

SetKeychainAvailable replaces the keychain availability hook for tests. It returns a restore function to reset the previous handler.

func SetListCredentialSummaries

func SetListCredentialSummaries(fn func() ([]authsvc.Credential, error)) func()

SetListCredentialSummaries replaces the metadata-only credential listing hook for tests. It returns a restore function to reset the previous handler.

func SetListStoredCredentials

func SetListStoredCredentials(fn func() ([]authsvc.Credential, error)) func()

SetListStoredCredentials replaces the full credential listing hook for tests. It returns a restore function to reset the previous handler.

func SetLoginJWTGenerator

func SetLoginJWTGenerator(fn func(string, string, *ecdsa.PrivateKey) (string, error)) func()

SetLoginJWTGenerator replaces the JWT generator for tests. It returns a restore function to reset the previous handler.

func SetLogoutCredentialRemovers added in v1.260825.0

func SetLogoutCredentialRemovers(remove func(string, authsvc.RemoveOptions) error, removeAll func(authsvc.RemoveOptions) error) func()

SetLogoutCredentialRemovers replaces the credential removal hooks for tests. It returns a restore function to reset the previous handlers.

func SetMigrateKeychainToConfig added in v1.260610.0

func SetMigrateKeychainToConfig(fn func(authsvc.MigrateKeychainToConfigOptions) (authsvc.MigrateKeychainToConfigResult, error)) func()

SetMigrateKeychainToConfig replaces the keychain-to-config migration hook for tests. It returns a restore function to reset the previous handler.

func SetStatusValidateCredential

func SetStatusValidateCredential(fn func(context.Context, authsvc.Credential) error) func()

SetStatusValidateCredential replaces the validation hook for tests. It returns a restore function to reset the previous handler.

Types

This section is empty.

Jump to

Keyboard shortcuts

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