pl.edu.icm.unity.oauth.rp.AccessTokenExchange Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of unity-server-oauth Show documentation
Show all versions of unity-server-oauth Show documentation
Client and server OAuth support
The newest version!
/*
* Copyright (c) 2014 ICM Uniwersytet Warszawski All rights reserved.
* See LICENCE.txt file for licensing information.
*/
package pl.edu.icm.unity.oauth.rp;
import com.nimbusds.oauth2.sdk.token.BearerAccessToken;
import pl.edu.icm.unity.engine.api.authn.AuthenticationException;
import pl.edu.icm.unity.engine.api.authn.AuthenticationResult;
import pl.edu.icm.unity.engine.api.authn.CredentialExchange;
/**
* Interface for validation of an access token obtained by a credential retrieval.
* @author K. Benedyczak
*/
public interface AccessTokenExchange extends CredentialExchange
{
public static final String ID = "access token exchange";
public AuthenticationResult checkToken(BearerAccessToken token) throws AuthenticationException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy