com.stormpath.sdk.impl.oauth.OAuthClientCredentialsGrantAuthenticationAttempt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of stormpath-sdk-impl Show documentation
Show all versions of stormpath-sdk-impl Show documentation
The Stormpath Java SDK core implemenation .jar is used at runtime to support API invocations. This
implementation jar should be a runtime dependency only and should NOT be depended on at compile time by
your code. The implementations within this jar can change at any time without warning - use it with runtime
scope only.
package com.stormpath.sdk.impl.oauth;
import com.stormpath.sdk.resource.Resource;
/**
* @since 1.0.0
*/
public interface OAuthClientCredentialsGrantAuthenticationAttempt extends Resource {
/**
* Method used to set the Authentication Grant Type that will be used for the token exchange request. Currently only "password" grant type is supported for this operation.
* @param grantType the Authentication Grant Type that will be used for the token exchange request.
*/
void setGrantType(String grantType);
void setApiKeyId(String apiKeyId);
void setApiKeySecret(String apiKeySecret);
}