@bolttech/server-side-next
Version:
This library was generated with [Nx](https://nx.dev).
22 lines (21 loc) • 616 B
TypeScript
export declare type OidcClientType = {
getAccessToken: (opts?: Record<string, unknown>) => Promise<TokenSetType>;
getRefreshToken: (opts?: Record<string, unknown>) => Promise<void>;
};
export declare type OidcClientOptionsType = {
baseUrl?: string;
oidcPath?: string;
clientId?: string;
clientSecret?: string;
grantType?: string;
};
export declare type TokenSetType = {
tokenType?: string;
accessToken?: string;
expires_at?: string;
};
export declare type PGTokenSetType = {
access_token?: string;
expires_in?: number;
token_type?: string;
};