Documentation
¶
Index ¶
- func AuthCommand() *ffcli.Command
- func AuthDoctorCommand() *ffcli.Command
- func AuthInitCommand() *ffcli.Command
- func AuthIssuerIDCommand() *ffcli.Command
- func AuthLoginCommand() *ffcli.Command
- func AuthLogoutCommand() *ffcli.Command
- func AuthStatusCommand() *ffcli.Command
- func AuthSwitchCommand() *ffcli.Command
- func AuthTokenCommand() *ffcli.Command
- func NewPermissionWarning(err error) error
- func SetListCredentialSummaries(fn func() ([]authsvc.Credential, error)) func()
- func SetListStoredCredentials(fn func() ([]authsvc.Credential, error)) func()
- func SetLoginJWTGenerator(fn func(string, string, *ecdsa.PrivateKey) (string, error)) func()
- func SetStatusValidateCredential(fn func(context.Context, authsvc.Credential) error) func()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AuthIssuerIDCommand ¶
AuthIssuerIDCommand prints the active App Store Connect issuer ID.
func AuthTokenCommand ¶
AuthTokenCommand prints a signed JWT for direct API calls.
func NewPermissionWarning ¶
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 ¶
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.