Merge pull request #707 from crazy-max/gh-runtime-token-info
Log GitHub Actions runtime token access controlspull/736/head
commit
1d910c8aa2
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -0,0 +1,9 @@
|
|||||||
|
import jwt_decode, {JwtPayload} from 'jwt-decode';
|
||||||
|
|
||||||
|
interface Jwt extends JwtPayload {
|
||||||
|
ac?: string;
|
||||||
|
}
|
||||||
|
|
||||||
|
export const parseRuntimeToken = (token: string): Jwt => {
|
||||||
|
return jwt_decode<Jwt>(token);
|
||||||
|
};
|
Loading…
Reference in New Issue