Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Authenticate ¶
type Authenticate interface {
Authenticate(ctx context.Context, tokenFn func() (string, error), fullMethod string) (clientID []byte, err error)
}
Authenticate interface Authenticate returns ErrInWhitelist, ErrInvalidArguments, ErrUnauthenticated, ErrDeny, ErrNoRefreshToken, ErrScopeNotExist, ErrOutOfScopes if success return id
Click to show internal directories.
Click to hide internal directories.