import { Static } from "@sinclair/typebox"; export declare const refresh_token_props: import("@sinclair/typebox").TObject<{ /** * Identifier of the application that requested the token. */ client_id: import("@sinclair/typebox").TString; /** * Expiration of the token (in seconds from UNIX epoch). */ exp: import("@sinclair/typebox").TNumber; /** * Identifier of the token endpoint of the authorization server that issued * the token. I think it makes sense to store this information, in case the * authorization server has multiple token endpoints. */ iss: import("@sinclair/typebox").TString; /** * Identifier of the access token this refresh token is associated with. * TODO: clarify if this jti always refers to the **first** access token * this refresh token was generated from, or if it refers to the most recent * **refreshed** access token. Re-read "automatic reuse detection" in this article: * https://auth0.com/blog/refresh-tokens-what-are-they-and-when-to-use-them/#Refresh-Token-Automatic-Reuse-Detection */ jti: import("@sinclair/typebox").TString; me: import("@sinclair/typebox").TString; redirect_uri: import("@sinclair/typebox").TString; refresh_token: import("@sinclair/typebox").TString; revoked: import("@sinclair/typebox").TOptional; revocation_reason: import("@sinclair/typebox").TOptional; scope: import("@sinclair/typebox").TString; }>; export type RefreshTokenProps = Static; export declare const refresh_token_immutable_record: import("@sinclair/typebox").TObject<{ /** * Identifier of the application that requested the token. */ client_id: import("@sinclair/typebox").TString; /** * Expiration of the token (in seconds from UNIX epoch). */ exp: import("@sinclair/typebox").TNumber; /** * Identifier of the token endpoint of the authorization server that issued * the token. I think it makes sense to store this information, in case the * authorization server has multiple token endpoints. */ iss: import("@sinclair/typebox").TString; /** * Identifier of the access token this refresh token is associated with. * TODO: clarify if this jti always refers to the **first** access token * this refresh token was generated from, or if it refers to the most recent * **refreshed** access token. Re-read "automatic reuse detection" in this article: * https://auth0.com/blog/refresh-tokens-what-are-they-and-when-to-use-them/#Refresh-Token-Automatic-Reuse-Detection */ jti: import("@sinclair/typebox").TString; me: import("@sinclair/typebox").TString; redirect_uri: import("@sinclair/typebox").TString; refresh_token: import("@sinclair/typebox").TString; revoked: import("@sinclair/typebox").TOptional; revocation_reason: import("@sinclair/typebox").TOptional; scope: import("@sinclair/typebox").TString; created_at: import("@sinclair/typebox").TNumber; id: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TNumber, import("@sinclair/typebox").TString]>; }>; export type RefreshTokenImmutableRecord = Static; export declare const refresh_token_mutable_record: import("@sinclair/typebox").TObject<{ /** * Identifier of the application that requested the token. */ client_id: import("@sinclair/typebox").TString; /** * Expiration of the token (in seconds from UNIX epoch). */ exp: import("@sinclair/typebox").TNumber; /** * Identifier of the token endpoint of the authorization server that issued * the token. I think it makes sense to store this information, in case the * authorization server has multiple token endpoints. */ iss: import("@sinclair/typebox").TString; /** * Identifier of the access token this refresh token is associated with. * TODO: clarify if this jti always refers to the **first** access token * this refresh token was generated from, or if it refers to the most recent * **refreshed** access token. Re-read "automatic reuse detection" in this article: * https://auth0.com/blog/refresh-tokens-what-are-they-and-when-to-use-them/#Refresh-Token-Automatic-Reuse-Detection */ jti: import("@sinclair/typebox").TString; me: import("@sinclair/typebox").TString; redirect_uri: import("@sinclair/typebox").TString; refresh_token: import("@sinclair/typebox").TString; revoked: import("@sinclair/typebox").TOptional; revocation_reason: import("@sinclair/typebox").TOptional; scope: import("@sinclair/typebox").TString; created_at: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TNumber, import("@sinclair/typebox").TNull]>; deleted_at: import("@sinclair/typebox").TOptional>; undeleted_at: import("@sinclair/typebox").TOptional>; updated_at: import("@sinclair/typebox").TOptional>; }>; export type RefreshTokenMutableRecord = Static; //# sourceMappingURL=refresh-token.d.ts.map