public static class OAuth2Config.Builder extends Object
Constructor and Description |
---|
OAuth2Config.Builder() |
Modifier and Type | Method and Description |
---|---|
OAuth2Config |
build() |
OAuth2Config.Builder |
setAccessTokenEndpoint(String accessTokenEndpoint) |
OAuth2Config.Builder |
setClientId(String clientId) |
OAuth2Config.Builder |
setClientSecret(String clientSecret) |
OAuth2Config.Builder |
setOAuth2Scheme(String oAuth2Scheme) |
OAuth2Config.Builder |
setPassword(String password) |
OAuth2Config.Builder |
setRefreshTokenEndpoint(String refreshTokenEndpoint) |
OAuth2Config.Builder |
setUsername(String username) |
public OAuth2Config.Builder setOAuth2Scheme(String oAuth2Scheme)
public OAuth2Config.Builder setUsername(String username)
public OAuth2Config.Builder setPassword(String password)
public OAuth2Config.Builder setClientId(String clientId)
public OAuth2Config.Builder setClientSecret(String clientSecret)
public OAuth2Config.Builder setAccessTokenEndpoint(String accessTokenEndpoint)
public OAuth2Config.Builder setRefreshTokenEndpoint(String refreshTokenEndpoint)
public OAuth2Config build()
Copyright © 2009–2014. All rights reserved.