public class DeveloperAuthenticationCallbackResponse extends Object implements Serializable
| Constructor and Description |
|---|
DeveloperAuthenticationCallbackResponse() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDisplayName()
Get the display name of the authenticated developer.
|
String |
getSubject()
Get the subject (= unique identifier) of the authenticated developer.
|
boolean |
isAuthenticated()
Get the authentication result.
|
DeveloperAuthenticationCallbackResponse |
setAuthenticated(boolean authenticated)
Set the authentication result.
|
DeveloperAuthenticationCallbackResponse |
setDisplayName(String displayName)
Set the display name of the authenticated developer.
|
DeveloperAuthenticationCallbackResponse |
setSubject(String subject)
Set the subject (= unique identifier) of the authenticated developer.
|
public DeveloperAuthenticationCallbackResponse()
public boolean isAuthenticated()
true if the credentials of the developer were valid.
Otherwise, false.public DeveloperAuthenticationCallbackResponse setAuthenticated(boolean authenticated)
When the credentials (id and password) in the
developer authentication callback request (DeveloperAuthenticationCallbackRequest) are valid, true
should be set to this property.
authenticated - true if the credentials of the developer were valid.
Otherwise, false.this object.public String getSubject()
public DeveloperAuthenticationCallbackResponse setSubject(String subject)
When the credentials (id and password) in the
developer authentication callback request (DeveloperAuthenticationCallbackRequest) are valid, the subject
(= unique identifier) of the developer should be set to this property.
The value of subject does not always have to be equal to
the value of id in the developer authentication callback
request. For example, id may be an email address but a
service implementation may have generated and assigned a unique
identifier such as 60504791 to the developer who is
represented by the email address. In such a case, 60504791
should be set as subject.
subject - The subject (= unique identifier) of the authenticated
developer. When the authentication failed, this property
should be null.this object.public String getDisplayName()
public DeveloperAuthenticationCallbackResponse setDisplayName(String displayName)
displayName - The display name of the authenticated developer.this object.Copyright © 2019. All rights reserved.