toScopes method

List<String> toScopes()

scope 문자열 목록 생성

Implementation

List<String> toScopes() {
  final scopes = <String>[];

  if (openid) scopes.add('openid');
  if (email) scopes.add('email');
  if (profile) scopes.add('profile');

  return scopes;
}