public static enum ConfluenceConfig.AuthenticationType extends java.lang.Enum<ConfluenceConfig.AuthenticationType>
| Enum Constant and Description |
|---|
BASIC
Use username/password combination (a.k.a.
|
PAT
Use Personal Access Token (PAT) to authenticate Confluence API calls.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAuthorizationHeader(ConfluenceConfig config) |
static ConfluenceConfig.AuthenticationType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ConfluenceConfig.AuthenticationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConfluenceConfig.AuthenticationType BASIC
public static final ConfluenceConfig.AuthenticationType PAT
public static ConfluenceConfig.AuthenticationType[] values()
for (ConfluenceConfig.AuthenticationType c : ConfluenceConfig.AuthenticationType.values()) System.out.println(c);
public static ConfluenceConfig.AuthenticationType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String getAuthorizationHeader(ConfluenceConfig config)