toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case AuthDecision.allowed:
      return 'ALLOWED';
    case AuthDecision.explicitDeny:
      return 'EXPLICIT_DENY';
    case AuthDecision.implicitDeny:
      return 'IMPLICIT_DENY';
  }
}