Skip to content

Commit

Permalink
feat: remove accessTokenStrategy
Browse files Browse the repository at this point in the history
  • Loading branch information
porcellus committed Aug 1, 2024
1 parent 6bab7f5 commit be263bd
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 20 deletions.
7 changes: 0 additions & 7 deletions lib/build/recipe/oauth2provider/OAuth2Client.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,12 +78,6 @@ export declare class OAuth2Client {
* Requested Client Authentication method for the Token Endpoint.
*/
tokenEndpointAuthMethod: string;
/**
* OAuth 2.0 Access Token Strategy
* AccessTokenStrategy is the strategy used to generate access tokens.
* Valid options are jwt and opaque.
*/
accessTokenStrategy?: "jwt" | "opaque";
/**
* OAuth 2.0 Client URI
* ClientURI is a URL string of a web page providing information about the client.
Expand Down Expand Up @@ -160,7 +154,6 @@ export declare class OAuth2Client {
refreshTokenGrantIdTokenLifespan,
refreshTokenGrantRefreshTokenLifespan,
tokenEndpointAuthMethod,
accessTokenStrategy,
clientUri,
allowedCorsOrigins,
audience,
Expand Down
2 changes: 0 additions & 2 deletions lib/build/recipe/oauth2provider/OAuth2Client.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ class OAuth2Client {
refreshTokenGrantIdTokenLifespan = null,
refreshTokenGrantRefreshTokenLifespan = null,
tokenEndpointAuthMethod,
accessTokenStrategy,
clientUri = "",
allowedCorsOrigins = [],
audience = [],
Expand Down Expand Up @@ -66,7 +65,6 @@ class OAuth2Client {
this.refreshTokenGrantIdTokenLifespan = refreshTokenGrantIdTokenLifespan;
this.refreshTokenGrantRefreshTokenLifespan = refreshTokenGrantRefreshTokenLifespan;
this.tokenEndpointAuthMethod = tokenEndpointAuthMethod;
this.accessTokenStrategy = accessTokenStrategy;
this.clientUri = clientUri;
this.allowedCorsOrigins = allowedCorsOrigins;
this.audience = audience;
Expand Down
1 change: 0 additions & 1 deletion lib/build/recipe/oauth2provider/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,6 @@ export declare type OAuth2ClientOptions = {
refreshTokenGrantIdTokenLifespan?: string | null;
refreshTokenGrantRefreshTokenLifespan?: string | null;
tokenEndpointAuthMethod: string;
accessTokenStrategy?: "jwt" | "opaque";
audience?: string[];
grantTypes?: string[] | null;
responseTypes?: string[] | null;
Expand Down
9 changes: 0 additions & 9 deletions lib/ts/recipe/oauth2provider/OAuth2Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,13 +109,6 @@ export class OAuth2Client {
*/
tokenEndpointAuthMethod: string;

/**
* OAuth 2.0 Access Token Strategy
* AccessTokenStrategy is the strategy used to generate access tokens.
* Valid options are jwt and opaque.
*/
accessTokenStrategy?: "jwt" | "opaque";

/**
* OAuth 2.0 Client URI
* ClientURI is a URL string of a web page providing information about the client.
Expand Down Expand Up @@ -203,7 +196,6 @@ export class OAuth2Client {
refreshTokenGrantIdTokenLifespan = null,
refreshTokenGrantRefreshTokenLifespan = null,
tokenEndpointAuthMethod,
accessTokenStrategy,
clientUri = "",
allowedCorsOrigins = [],
audience = [],
Expand Down Expand Up @@ -231,7 +223,6 @@ export class OAuth2Client {
this.refreshTokenGrantIdTokenLifespan = refreshTokenGrantIdTokenLifespan;
this.refreshTokenGrantRefreshTokenLifespan = refreshTokenGrantRefreshTokenLifespan;
this.tokenEndpointAuthMethod = tokenEndpointAuthMethod;
this.accessTokenStrategy = accessTokenStrategy;
this.clientUri = clientUri;
this.allowedCorsOrigins = allowedCorsOrigins;
this.audience = audience;
Expand Down
1 change: 0 additions & 1 deletion lib/ts/recipe/oauth2provider/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,6 @@ export type OAuth2ClientOptions = {
refreshTokenGrantRefreshTokenLifespan?: string | null;

tokenEndpointAuthMethod: string;
accessTokenStrategy?: "jwt" | "opaque";

audience?: string[];
grantTypes?: string[] | null;
Expand Down

0 comments on commit be263bd

Please sign in to comment.