@Override
    public long getExpiresIn() {
        return getExpirationPolicy().getTimeToLive();
    }
An OAuth access token implementation.

@author Jerome Leleu
@since 5.0.0
support/cas-server-support-oauth-core-api/src/main/java/org/apereo/cas/ticket/accesstoken/OAuth20DefaultAccessToken.java