Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type JWTResponse ¶
type JWTResponse struct {
Jwt string `json:"jwt"`
}
type OAuthServer ¶
type OAuthServer struct {
// contains filtered or unexported fields
}
func NewOAuthServer ¶
func NewOAuthServer(endpoint, frontendEndpoint string) *OAuthServer
func (*OAuthServer) GetAuthJWT ¶
func (s *OAuthServer) GetAuthJWT() error
func (*OAuthServer) WithOnFailure ¶
func (s *OAuthServer) WithOnFailure(onFailure OnAuthFailure) *OAuthServer
func (*OAuthServer) WithOnSuccess ¶
func (s *OAuthServer) WithOnSuccess(onSuccess OnAuthSuccess) *OAuthServer
type OnAuthFailure ¶
type OnAuthFailure func(err error)
type OnAuthSuccess ¶
type Option ¶
type Option func(*OAuthServer)
Click to show internal directories.
Click to hide internal directories.