public static final class Authentication.Identity extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Authentication.Identity.Password |
static class |
Authentication.Identity.Token |
Constructor and Description |
---|
Identity() |
Modifier and Type | Method and Description |
---|---|
List<String> |
getMethods() |
Authentication.Identity.Password |
getPassword() |
Authentication.Identity.Token |
getToken() |
static Authentication.Identity |
password(String userId,
String password) |
static Authentication.Identity |
password(String domainName,
String username,
String password) |
void |
setMethods(List<String> methods) |
void |
setPassword(Authentication.Identity.Password password) |
void |
setToken(Authentication.Identity.Token token) |
static Authentication.Identity |
token(String token) |
public static final Authentication.Identity password(String userId, String password)
public static final Authentication.Identity password(String domainName, String username, String password)
public static final Authentication.Identity token(String token)
public Authentication.Identity.Password getPassword()
public void setPassword(Authentication.Identity.Password password)
public Authentication.Identity.Token getToken()
public void setToken(Authentication.Identity.Token token)
Copyright © 2012–2018. All rights reserved.