toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case AuthorizationType.none:
      return 'NONE';
    case AuthorizationType.awsIam:
      return 'AWS_IAM';
    case AuthorizationType.custom:
      return 'CUSTOM';
    case AuthorizationType.jwt:
      return 'JWT';
  }
}