Function useConsumerToken

  • Returns {
        getFreshToken: (() => Promise<string>);
        getToken: (() => Promise<string>);
    }

    • getFreshToken: (() => Promise<string>)
        • (): Promise<string>
        • Returns Promise<string>

    • getToken: (() => Promise<string>)
        • (): Promise<string>
        • Returns Promise<string>