Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrKeyNotFound = errors.New("key not found")
)
View Source
var SignedInChanged *signals.StatefulSignal[bool]
View Source
var SignedInState *state.State[bool]
Functions ¶
func DeleteRefreshToken ¶
func DeleteRefreshToken() error
func GetRefreshToken ¶
func GetRefreshToken() string
func HasRefreshToken ¶
func HasRefreshToken() bool
func SetRefreshToken ¶
Types ¶
type AuthStrategy ¶
type AuthStrategy struct {
// contains filtered or unexported fields
}
func NewTokenAuthStrategy ¶
func NewTokenAuthStrategy() *AuthStrategy
func (*AuthStrategy) Authenticate ¶
func (s *AuthStrategy) Authenticate(req *http.Request, clientID, clientSecret string) error
type ServiceError ¶ added in v1.1.0
func Healthcheck ¶ added in v1.1.0
func Healthcheck() *ServiceError
Click to show internal directories.
Click to hide internal directories.