public enum AuthService extends Enum<AuthService> implements HasCode<AuthService>
| Enum Constant and Description |
|---|
Email |
GitLab |
Google |
Office365 |
Saml |
| Modifier and Type | Method and Description |
|---|---|
static AuthService |
of(String code) |
static AuthService |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AuthService[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AuthService Email
public static final AuthService Saml
public static final AuthService GitLab
public static final AuthService Google
public static final AuthService Office365
public static AuthService[] values()
for (AuthService c : AuthService.values()) System.out.println(c);
public static AuthService 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 AuthService of(String code)
Copyright © 2018. All rights reserved.