public enum AuthorizationMode extends 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(String label) |
String |
getLabel() |
static AuthorizationMode |
valueOf(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(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getLabel()
public AuthenticationScheme getAuthenticationScheme()
public static AuthorizationMode get(AuthenticationScheme authenticationScheme)
public static AuthorizationMode getAuthorizationMode(String label)
Copyright © 2017–2023 Okta. All rights reserved.