flwr_oauth2/jwt_profile
This module aims to implement RFC7523 JSON Web Token (JWT) Profile for OAuth 2.0 Client Authentication and Authorization Grants. For more infomation on the Authorization Assertion Grant Type see RFC7521.
Types
pub type JwtAuthorizationGrantRequest {
JwtAuthorizationGrantRequest(
token_endpoint: uri.Uri,
assertion: String,
authorization: option.Option(flwr_oauth2.ClientAuthentication),
scope: List(String),
)
}
Constructors
-
JwtAuthorizationGrantRequest( token_endpoint: uri.Uri, assertion: String, authorization: option.Option(flwr_oauth2.ClientAuthentication), scope: List(String), )
Values
pub fn to_http_request(
grant: JwtAuthorizationGrantRequest,
) -> Result(request.Request(String), flwr_oauth2.RequestError)