add HS256/384/512 hash support
This commit is contained in:
parent
4ef9529012
commit
e9f1bbc972
5 changed files with 24 additions and 12 deletions
|
@ -7,7 +7,7 @@ type JWTProfileGrantRequest struct {
|
|||
}
|
||||
|
||||
// NewJWTProfileGrantRequest creates an oauth2 `JSON Web Token (JWT) Profile` Grant
|
||||
//`urn:ietf:params:oauth:grant-type:jwt-bearer`
|
||||
// `urn:ietf:params:oauth:grant-type:jwt-bearer`
|
||||
// sending a self-signed jwt as assertion
|
||||
func NewJWTProfileGrantRequest(assertion string, scopes ...string) *JWTProfileGrantRequest {
|
||||
return &JWTProfileGrantRequest{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue