Function useConsumerToken
- use
Consumer (): {Token
getFreshToken: (() => Promise<string>);
getToken: (() => Promise<string>);
} Returns {
getFreshToken: (() => Promise<string>);
getToken: (() => Promise<string>);
}get
Fresh : (() => Promise<string>)Token - (): Promise<string>
Returns Promise<string>
get
Token : (() => Promise<string>)- (): Promise<string>
Returns Promise<string>