public enum RegistrationAuth extends Enum<RegistrationAuth>
| Enum Constant and Description |
|---|
ANONYMOUS
Case when client is registered without token (either initialAccessToken or BearerToken).
|
AUTHENTICATED
Case when client is registered with token (either initialAccessToken or BearerToken).
|
| Modifier and Type | Method and Description |
|---|---|
static RegistrationAuth |
fromString(String regAuth) |
static RegistrationAuth |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RegistrationAuth[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RegistrationAuth ANONYMOUS
public static final RegistrationAuth AUTHENTICATED
public static RegistrationAuth[] values()
for (RegistrationAuth c : RegistrationAuth.values()) System.out.println(c);
public static RegistrationAuth 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 static RegistrationAuth fromString(String regAuth)
Copyright © 2021 JBoss by Red Hat. All rights reserved.