public static final class OAuth2Credentials.Builder
extends java.lang.Object
构造器和说明 |
---|
Builder() |
限定符和类型 | 方法和说明 |
---|---|
OAuth2Credentials.Builder |
accessToken(java.lang.String val) |
OAuth2Credentials.Builder |
authorizationCode(java.lang.String authorizationCode) |
OAuth2Credentials |
build() |
OAuth2Credentials.Builder |
expiresInSeconds(long val) |
OAuth2Credentials.Builder |
openId(java.lang.String val) |
OAuth2Credentials.Builder |
platform(java.lang.String val) |
OAuth2Credentials.Builder |
refreshToken(java.lang.String val) |
OAuth2Credentials.Builder |
scope(java.lang.String val) |
OAuth2Credentials.Builder |
tokenStartTime(long val) |
public OAuth2Credentials.Builder platform(java.lang.String val)
public OAuth2Credentials.Builder accessToken(java.lang.String val)
public OAuth2Credentials.Builder expiresInSeconds(long val)
public OAuth2Credentials.Builder tokenStartTime(long val)
public OAuth2Credentials.Builder refreshToken(java.lang.String val)
public OAuth2Credentials.Builder openId(java.lang.String val)
public OAuth2Credentials.Builder authorizationCode(java.lang.String authorizationCode)
public OAuth2Credentials.Builder scope(java.lang.String val)
public OAuth2Credentials build()