Example usage for org.springframework.security.oauth2.common OAuth2AccessToken interface-usage

List of usage examples for org.springframework.security.oauth2.common OAuth2AccessToken interface-usage

Introduction

In this page you can find the example usage for org.springframework.security.oauth2.common OAuth2AccessToken interface-usage.

Usage

From source file com.example.oauth.AccessToken.java

@ToString
public class AccessToken implements OAuth2AccessToken {

    private final String accessToken;
    private final String refreshToken;
    private final Set<Scope> scopes;

From source file org.mitre.oauth2.introspectingfilter.OAuth2AccessTokenImpl.java

public class OAuth2AccessTokenImpl implements OAuth2AccessToken {

    private JsonObject introspectionResponse;
    private String tokenString;
    private Set<String> scopes = new HashSet<>();
    private Date expireDate;

From source file org.mitre.oauth2.model.OAuth2AccessTokenEntity.java

/**
 * @author jricher
 *
 */
@Entity
@Table(name = "access_token")