Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrForbidden will be returned if user scopes does not satisfy required scopes ErrForbidden = errors.New("access is forbidden") )
Functions ¶
func New ¶
New creates validator which implements access.Validator interface discoveryURI is the uri to the openid discovery document. evaluationInterval is the interval (in minutest) after which the RSAPublicKey will be automatically re-acquired from the discovery source. DefaultRequiredScopes is self-explanatory. Will be used in case if requiredScopes were not specified on method call.
Types ¶
Click to show internal directories.
Click to hide internal directories.