@animo-id/oauth2
Advanced tools
Comparing version 0.0.2-alpha-20241108135941 to 0.0.2-alpha-20241108155454
@@ -40,2 +40,3 @@ import * as v from 'valibot'; | ||
readonly redirect_uri: v.OptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.UrlAction<string, undefined>, v.CheckAction<string, "url must be an https:// url">]>, never>; | ||
readonly resource: v.OptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.UrlAction<string, undefined>, v.CheckAction<string, "url must be an https:// url">]>, never>; | ||
readonly code_verifier: v.OptionalSchema<v.StringSchema<undefined>, never>; | ||
@@ -788,2 +789,7 @@ readonly grant_type: v.UnionSchema<[v.LiteralSchema<"urn:ietf:params:oauth:grant-type:pre-authorized_code", undefined>, v.LiteralSchema<"authorization_code", undefined>, v.StringSchema<undefined>], undefined>; | ||
/** | ||
* The resource to which access is being requested. This can help the authorization | ||
* server in determining the resource server to handle the authorization request for | ||
*/ | ||
resource?: string; | ||
/** | ||
* Dpop parameters for including a dpop in the access token request. The request will automatically | ||
@@ -1353,4 +1359,4 @@ * be retried if the server responds with a 'use_dpop_nonce' header. | ||
}>; | ||
retrievePreAuthorizedCodeAccessToken({ authorizationServerMetadata, preAuthorizedCode, additionalRequestPayload, txCode, dpop, }: Omit<RetrievePreAuthorizedCodeAccessTokenOptions, 'callbacks'>): Promise<RetrieveAccessTokenReturn>; | ||
retrieveAuthorizationCodeAccessToken({ authorizationServerMetadata, additionalRequestPayload, authorizationCode, pkceCodeVerifier, redirectUri, dpop, }: Omit<RetrieveAuthorizationCodeAccessTokenOptions, 'callbacks'>): Promise<RetrieveAccessTokenReturn>; | ||
retrievePreAuthorizedCodeAccessToken({ authorizationServerMetadata, preAuthorizedCode, additionalRequestPayload, txCode, dpop, resource, }: Omit<RetrievePreAuthorizedCodeAccessTokenOptions, 'callbacks'>): Promise<RetrieveAccessTokenReturn>; | ||
retrieveAuthorizationCodeAccessToken({ authorizationServerMetadata, additionalRequestPayload, authorizationCode, pkceCodeVerifier, redirectUri, resource, dpop, }: Omit<RetrieveAuthorizationCodeAccessTokenOptions, 'callbacks'>): Promise<RetrieveAccessTokenReturn>; | ||
resourceRequest(options: ResourceRequestOptions): Promise<ResourceRequestResponseOk | ResourceRequestResponseNotOk>; | ||
@@ -1357,0 +1363,0 @@ } |
{ | ||
"name": "@animo-id/oauth2", | ||
"version": "0.0.2-alpha-20241108135941", | ||
"version": "0.0.2-alpha-20241108155454", | ||
"exports": { | ||
@@ -18,3 +18,3 @@ ".": { | ||
"valibot": "^0.42.1", | ||
"@animo-id/oauth2-utils": "0.0.2-alpha-20241108135941" | ||
"@animo-id/oauth2-utils": "0.0.2-alpha-20241108155454" | ||
}, | ||
@@ -21,0 +21,0 @@ "devDependencies": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
635728
5553
+ Added@animo-id/oauth2-utils@0.0.2-alpha-20241108155454(transitive)
- Removed@animo-id/oauth2-utils@0.0.2-alpha-20241108135941(transitive)