public enum AuthorizationMode extends java.lang.Enum<AuthorizationMode>
Enum Constant and Description |
---|
NONE |
PRIVATE_KEY |
SSWS |
Modifier and Type | Method and Description |
---|---|
static AuthorizationMode |
get(AuthenticationScheme authenticationScheme) |
AuthenticationScheme |
getAuthenticationScheme() |
static AuthorizationMode |
getAuthorizationMode(java.lang.String label) |
java.lang.String |
getLabel() |
static AuthorizationMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AuthorizationMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AuthorizationMode SSWS
public static final AuthorizationMode PRIVATE_KEY
public static final AuthorizationMode NONE
public static AuthorizationMode[] values()
for (AuthorizationMode c : AuthorizationMode.values()) System.out.println(c);
public static AuthorizationMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getLabel()
public AuthenticationScheme getAuthenticationScheme()
public static AuthorizationMode get(AuthenticationScheme authenticationScheme)
public static AuthorizationMode getAuthorizationMode(java.lang.String label)
Copyright © 2017-2021 Okta. All Rights Reserved.