Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Encrypt ¶
type Encrypt struct {
// contains filtered or unexported fields
}
func (*Encrypt) ParseToken ¶
ParseToken decrypts/parse the provided raw token signed using the configured RSA keys
func (*Encrypt) SignedToken ¶
SignedToken returns the JWT encrypted token using the RSA keys provided in the configuraiton It takes the parameter argument which provides details of the issuer, subject, headers and claims As part of the parameters you are required to provide the encryption type whihc is either JWT or JWE
Click to show internal directories.
Click to hide internal directories.