package com.openbanking.eai.common.token; 

import java.util.Date;

public interface AccessTokenVO
{
	public static final String BEARER_TYPE            = "Bearer";
	
	public static final String PROP_GROUP             = "OAuthInfo";
	public static final String HEADER_CONTENT_TYPE    = "header.content.type";
    public static final String TARGET_ADAPTER_GROUP   = "target.adapter.group";
    
//    public static final String OAUTH_ACCESS_TOKEN_URI = "oauth.token.uri";
//    public static final String OAUTH_CLIENT_ID        = "oauth.client.id";
//    public static final String OAUTH_CLIENT_SECRET    = "oauth.client.secret";
//    public static final String OAUTH_SCOPE            = "oauth.scope";
//    public static final String OAUTH_GRANT_TYPE       = "oauth.grant.type";

    public abstract String getAccessToken();

    public abstract Date getExpiration();

    public abstract boolean isExpired();
} 
