initial commit of actions
This commit is contained in:
commit
949ece5785
44660 changed files with 12034344 additions and 0 deletions
25
dawidd6/action-download-artifact-v3/node_modules/jwt-decode/index.d.ts
generated
vendored
Normal file
25
dawidd6/action-download-artifact-v3/node_modules/jwt-decode/index.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
export class InvalidTokenError extends Error {}
|
||||
|
||||
export interface JwtDecodeOptions {
|
||||
header?: boolean;
|
||||
}
|
||||
|
||||
export interface JwtHeader {
|
||||
type?: string;
|
||||
alg?: string;
|
||||
}
|
||||
|
||||
export interface JwtPayload {
|
||||
iss?: string;
|
||||
sub?: string;
|
||||
aud?: string[] | string;
|
||||
exp?: number;
|
||||
nbf?: number;
|
||||
iat?: number;
|
||||
jti?: string;
|
||||
}
|
||||
|
||||
export default function jwtDecode<T = unknown>(
|
||||
token: string,
|
||||
options?: JwtDecodeOptions
|
||||
): T;
|
||||
Loading…
Add table
Add a link
Reference in a new issue