Documentation ¶
Index ¶
Constants ¶
View Source
const ( AuthorizationHeaderName = "Authorization" BearerTokenPrefix = "Bearer " )
View Source
const ( UserDIDClaimName = "sub" ExpirationTimestampClaimName = "exp" TokenTypeClaimName = "type" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JWTIssuer ¶
type JWTIssuer struct {
// contains filtered or unexported fields
}
type RawJWT ¶
type RawJWT struct {
// contains filtered or unexported fields
}
RawJWT represents helper structure to provide setter and getter methods to work with JWT claims
func (*RawJWT) SetExpirationTimestamp ¶
func (*RawJWT) SetTokenAccess ¶
func (*RawJWT) SetTokenRefresh ¶
Click to show internal directories.
Click to hide internal directories.