Documentation
¶
Overview ¶
Package pkce generates PKCE verifiers and challenges according to https://www.rfc-editor.org/rfc/rfc7636
Index ¶
- func NewCredentialManager(configClientID string, configDir string) (*credentialManager, error)
- func NewServer(c *config.Config, s *service) *server
- func NewService(c *config.Config, credManager *credentialManager) (*service, error)
- func NewSpotifyClient(ctx context.Context, tok *oauth2.Token, ...) *spotify.Client
- type LoginClientMsg
- type LoginErrorMsg
- type LoginUrlMsg
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCredentialManager ¶
func NewService ¶
NewService creates a new authentication service
func NewSpotifyClient ¶
func NewSpotifyClient(ctx context.Context, tok *oauth2.Token, authenticator *spotifyauth.Authenticator) *spotify.Client
Types ¶
type LoginClientMsg ¶
type LoginErrorMsg ¶
type LoginErrorMsg struct {
Error error
}
type LoginUrlMsg ¶
type LoginUrlMsg struct {
Url string
}
Click to show internal directories.
Click to hide internal directories.