getAccessToken method

B2CAccessToken? getAccessToken(
  1. String subject
)

Returns subject's stored access-token.

Returns a B2CAccessToken object or null if the subject does not exists.

Implementation

B2CAccessToken? getAccessToken(String subject) {
  if (_accessTokens.containsKey(subject)) {
    return _accessTokens[subject]!;
  }
  return null;
}