public final class BasicAuthConfigurationProvider extends Object implements AuthConfigurationProvider
AuthConfigurationProvider.| Constructor and Description |
|---|
BasicAuthConfigurationProvider(String newClientId,
String newClientSecret,
String newApplicationId,
URL newAuthServiceBaseUrl)
Full constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getApplicationId()
Get the application id associated to the client credentials.
|
URL |
getAuthServiceBaseUrl()
Get the authorization service base URL.
|
String |
getClientId()
Get the client id.
|
String |
getClientSecret()
Get the client secret.
|
public BasicAuthConfigurationProvider(@Nonnull@NotEmpty
String newClientId,
@Nonnull@NotEmpty
String newClientSecret,
@Nullable
String newApplicationId,
@Nonnull
URL newAuthServiceBaseUrl)
newClientId - The client id.newClientSecret - The client secret.newApplicationId - The application id.newAuthServiceBaseUrl - The auth service base url.@Nonnull @NotEmpty public String getClientId()
getClientId in interface AuthConfigurationProvider@Nonnull @NotEmpty public String getClientSecret()
getClientSecret in interface AuthConfigurationProviderpublic String getApplicationId()
getApplicationId in interface AuthConfigurationProvider@Nonnull public URL getAuthServiceBaseUrl()
getAuthServiceBaseUrl in interface AuthConfigurationProviderCopyright © 2015 Covisint. All rights reserved.