auth

package
v1.260504.0 Latest Latest
Warning

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

Go to latest
Published: May 4, 2026 License: MIT Imports: 15 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 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 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 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