findToken(tokens?: AccessToken[], resource?: string, scopes?: string): AccessToken | undefined
tokens?
AccessToken
resource?
string
scopes?
undefined
Finds a specific access token in an array based on resource and scopes.
AccessToken | undefined
The matching AccessToken, or undefined if not found.