Serializable, Comparable<AuthType>public enum AuthType extends Enum<AuthType>
| Enum Constant | Description |
|---|---|
APP_TOKEN |
|
JWT |
|
LOGIN_TOKEN |
|
NO_AUTH_HEADER |
| Modifier and Type | Method | Description |
|---|---|---|
String |
getPrefix() |
|
static AuthType |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static AuthType[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AuthType LOGIN_TOKEN
public static final AuthType APP_TOKEN
public static final AuthType NO_AUTH_HEADER
public static final AuthType JWT
public static AuthType[] values()
for (AuthType c : AuthType.values()) System.out.println(c);
public static AuthType 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 getPrefix()
Copyright © 2018 The Apache Software Foundation. All rights reserved.