toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case AuthType.oauth:
      return 'OAUTH';
    case AuthType.basicAuth:
      return 'BASIC_AUTH';
    case AuthType.personalAccessToken:
      return 'PERSONAL_ACCESS_TOKEN';
  }
}