package
1.1.3
Repository: https://github.com/infinitbyte/framework.git
Documentation: pkg.go.dev

# Functions

GetAuthenticateFunc return function to authenticate request using oauth2 token introspection endpoint.
SetAuthorizationToken sets the introspection request's Authorization header to use HTTP Bearer Authentication with the provided token.
SetBasicAuth sets the introspection request's Authorization header to use HTTP Basic Authentication with the provided clientid and clientsecret.
SetClaimResolver sets the introspection strategy ClaimResolver to resolve the authorization claim response.
SetClientTransport sets underlying http client transport.
SetErrorResolver sets the introspection strategy ErrorResolver to resolve the authorization error response.
SetHTTPClient sets underlying http client.
SetTLSConfig ssets underlying http client tls.
SetVerifyOptions sets the introspection strategy to verify authorization response.

# Structs

Claims represents introspection response as defined in RFC 7662.