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

com.sap.cloudfoundry.client.facade.oauth2.Oauth2AccessTokenResponse Maven / Gradle / Ivy

There is a newer version: 2.56.0
Show newest version
package com.sap.cloudfoundry.client.facade.oauth2;

import org.immutables.value.Value;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;

@Value.Immutable
@JsonSerialize(as = ImmutableOauth2AccessTokenResponse.class)
@JsonDeserialize(as = ImmutableOauth2AccessTokenResponse.class)
public interface Oauth2AccessTokenResponse {

    @JsonProperty("access_token")
    String getAccessToken();

    @JsonProperty("token_type")
    String getTokenType();

    @JsonProperty("id_token")
    String getIdToken();

    @JsonProperty("refresh_token")
    String getRefreshToken();

    @JsonProperty("expires_in")
    long getExpiresIn();

    String getScope();

    String getJti();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy