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

com.flyfish.oauth.domain.OAuth2AccessToken Maven / Gradle / Ivy

There is a newer version: 1.0.7
Show newest version
package com.flyfish.oauth.domain;

public interface OAuth2AccessToken {

	String AUTH_PARAM_VALUE = "oauth";

	String BEARER_TYPE = "Bearer";

	String OAUTH2_TYPE = "OAuth2";

	/**
	 * The access token issued by the authorization server. This value is REQUIRED.
	 */
	String ACCESS_TOKEN = "access_token";

	/**
	 * The type of the token issued as described in Section 7.1. Value is case insensitive.
	 * This value is REQUIRED.
	 */
	String TOKEN_TYPE = "token_type";

	/**
	 * The lifetime in seconds of the access token. For example, the value "3600" denotes that the access token will
	 * expire in one hour from the time the response was generated. This value is OPTIONAL.
	 */
	String EXPIRES_IN = "expires_in";

	/**
	 * The refresh token which can be used to obtain new access tokens using the same authorization grant as described
	 * in Section 6. This value is OPTIONAL.
	 */
	String REFRESH_TOKEN = "refresh_token";

	/**
	 * The scope of the access token as described by Section 3.3
	 */
	String SCOPE = "scope";

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy