| Package | Description |
|---|---|
| com.authlete.common.dto |
Requests to and responses from Authlete APIs and some data structures.
|
| com.authlete.common.types |
Enum definitions and lists of pre-defined constants.
|
| Modifier and Type | Method and Description |
|---|---|
Sns |
SnsCredentials.getSns()
Get the SNS.
|
Sns |
DeveloperAuthenticationCallbackRequest.getSns()
Get the SNS that the developer used for social login.
|
Sns |
AuthenticationCallbackRequest.getSns()
Get the SNS that the end-user used for social login.
|
Sns[] |
Service.getSupportedDeveloperSnses()
Get the list of supported SNSes for social login at the developer console.
|
Sns[] |
Service.getSupportedSnses()
Get the list of supported SNSes for social login at the authorization
endpoint.
|
| Modifier and Type | Method and Description |
|---|---|
SnsCredentials |
SnsCredentials.setSns(Sns sns)
Set the SNS.
|
DeveloperAuthenticationCallbackRequest |
DeveloperAuthenticationCallbackRequest.setSns(Sns sns)
Set the SNS that the developer used for social login.
|
AuthenticationCallbackRequest |
AuthenticationCallbackRequest.setSns(Sns sns)
Set the SNS that the end-user used for social login.
|
Service |
Service.setSupportedDeveloperSnses(Sns[] supportedSnses)
Set the list of supported SNSes for social login at the developer console.
|
Service |
Service.setSupportedSnses(Sns[] supportedSnses)
Set the list of supported SNSes for social login at the authorization
endpoint.
|
| Modifier and Type | Method and Description |
|---|---|
static Sns |
Sns.getByValue(short value)
Find an instance of this enum by a value.
|
static Sns |
Sns.parse(String sns)
Convert
String to Sns. |
static Sns[] |
Sns.toArray(int bits) |
static Sns |
Sns.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Sns[] |
Sns.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static EnumSet<Sns> |
Sns.toSet(int bits) |
static EnumSet<Sns> |
Sns.toSet(Sns[] array) |
| Modifier and Type | Method and Description |
|---|---|
static EnumSet<Sns> |
Sns.toSet(Sns[] array) |
| Modifier and Type | Method and Description |
|---|---|
static int |
Sns.toBits(EnumSet<Sns> set) |
Copyright © 2017. All rights reserved.