public enum O2AuthScheme extends Enum<O2AuthScheme>
| Enum Constant and Description |
|---|
BearerToken
This request was authorized via a bearer token.
|
ClientPrivate
This request was authorized via a private client, i.e.
|
ClientPublic
This request was authorized via a public client, i.e.
|
None
No authentication was included.
|
| Modifier and Type | Method and Description |
|---|---|
Boolean |
isAuth()
Is this an authentication scheme?
|
static O2AuthScheme |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static O2AuthScheme[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final O2AuthScheme ClientPublic
public static final O2AuthScheme ClientPrivate
public static final O2AuthScheme BearerToken
public static final O2AuthScheme None
public static O2AuthScheme[] values()
for (O2AuthScheme c : O2AuthScheme.values()) System.out.println(c);
public static O2AuthScheme 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 Boolean isAuth()
Copyright © 2018 krotscheck.net. All rights reserved.