All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.stormpath.sdk.application.OAuthAuthenticator Maven / Gradle / Ivy

Go to download

The Stormpath Java SDK API .jar provides a Java API that your code can use to make calls to the Stormpath API. This .jar is the only compile-time dependency within the Stormpath SDK project that your code should depend on. Implementations of this API (implementation .jars) should be runtime dependencies only.

The newest version!
package com.stormpath.sdk.application;

import com.stormpath.sdk.oauth.IdSiteAuthenticator;
import com.stormpath.sdk.oauth.OAuthBearerRequestAuthenticator;
import com.stormpath.sdk.oauth.OAuthClientCredentialsGrantRequestAuthenticator;
import com.stormpath.sdk.oauth.OAuthPasswordGrantRequestAuthenticator;
import com.stormpath.sdk.oauth.OAuthRefreshTokenRequestAuthenticator;
import com.stormpath.sdk.oauth.OAuthStormpathFactorChallengeGrantRequestAuthenticator;
import com.stormpath.sdk.oauth.OAuthStormpathSocialGrantRequestAuthenticator;
import com.stormpath.sdk.oauth.OAuthTokenRevocator;

/**
 */
public interface OAuthAuthenticator {

    OAuthClientCredentialsGrantRequestAuthenticator createClientCredentialsGrantAuthenticator();

    OAuthStormpathSocialGrantRequestAuthenticator createStormpathSocialGrantAuthenticator();

    OAuthStormpathFactorChallengeGrantRequestAuthenticator createStormpathFactorChallengeGrantAuthenticator();

    OAuthPasswordGrantRequestAuthenticator createPasswordGrantAuthenticator();

    OAuthRefreshTokenRequestAuthenticator createRefreshGrantAuthenticator();

    OAuthBearerRequestAuthenticator createJwtAuthenticator();

    OAuthTokenRevocator createOAuthTokenRevocator();

    // TODO: this shouldn't be here, but not sure how much of the IdSite code is just OAuth functionality.
    IdSiteAuthenticator createIdSiteAuthenticator();

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy