public class HpwsLoginDescriptor extends Object implements LoginContext
Constructor and Description |
---|
HpwsLoginDescriptor(String accessToken,
String tokenType,
String email)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
accessToken()
Returns the access token.
|
String |
authToken()
Creates a new authorization string.
|
String |
email()
Returns the email.
|
boolean |
isValid()
Predicate indicating whether the login context is valid.
|
String |
tokenType()
Returns the token type.
|
public String authToken()
public String accessToken()
public String tokenType()
public String email()
public boolean isValid()
LoginContext
isValid
in interface LoginContext
Copyright © 2015. All Rights Reserved.