Proof-of-Possession Parameters.
More...
Proof-of-Possession Parameters.
◆ MIBPopParams
◆ MIB_AUTH_SCHEME
Authentication schemes.
Enumerator |
---|
MIB_AUTH_SCHEME_BEARER | |
MIB_AUTH_SCHEME_POP | |
◆ MIB_REQUEST_METHOD
Request methods.
Enumerator |
---|
MIB_REQUEST_METHOD_GET | |
MIB_REQUEST_METHOD_POST | |
MIB_REQUEST_METHOD_PUT | |
◆ mib_pop_params_new()
Create new Proof-of-Possession parameters object.
The caller is responsible for freeing the returned object with g_object_unref
.
- Parameters
-
auth_scheme | Indicates whether a bearer or pop token is requested |
method | The HTTP method of the request that will use the signed token |
uri | The URL of the protected resource for which the access token is being issued |
- Returns
- The PoP parameters object
◆ mib_pop_params_set_kid()
void mib_pop_params_set_kid |
( |
MIBPopParams * |
self, |
|
|
const gchar * |
kid |
|
) |
| |
Set the decoded "kid" part from a "req_cnf".
A RFC9201 req_cnf
is an OAuth2 parameter allowing clients to request a specific PoP key in an access token from a token endpoint. This value is a base64 encoded string with key kid
and a value. This value needs to be provided here.
◆ mib_pop_params_set_shr_claims()
void mib_pop_params_set_shr_claims |
( |
MIBPopParams * |
self, |
|
|
const gchar * |
claims |
|
) |
| |
◆ mib_pop_params_set_shr_nonce()
void mib_pop_params_set_shr_nonce |
( |
MIBPopParams * |
self, |
|
|
const gchar * |
nonce |
|
) |
| |