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

edu.internet2.middleware.grouper.azure.model.AzureGraphOAuthTokenInfo Maven / Gradle / Ivy

There is a newer version: 4.16.0
Show newest version
package edu.internet2.middleware.grouper.azure.model;

import com.squareup.moshi.Json;

public class AzureGraphOAuthTokenInfo {
    @Json(name = "token_type") public final String tokenType;
    @Json(name = "scope") public final String scope;
    @Json(name = "expires_in") public final int expiresIn;
    @Json(name = "expires_on") public final int expiresOn;
    @Json(name = "not_before") public final int notBefore;
    @Json(name = "resource") public final String resource;
    @Json(name = "access_token") public final String accessToken;

    public AzureGraphOAuthTokenInfo(String tokenType, String scope, int expiresIn, int expiresOn, int notBefore, String resource, String accessToken) {
        this.tokenType = tokenType;
        this.scope = scope;
        this.expiresIn = expiresIn;
        this.expiresOn = expiresOn;
        this.notBefore = notBefore;
        this.resource = resource;
        this.accessToken = accessToken;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy