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

org.springframework.social.partnercenter.security.PartnerCenterAccessGrant Maven / Gradle / Ivy

Go to download

A provider extension for Spring Social to enable connectivity with Microsoft and an API binding for Microsoft's Partner Center API.

There is a newer version: 10.11.0
Show newest version
package org.springframework.social.partnercenter.security;

import org.springframework.social.oauth2.AccessGrant;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;

@JsonInclude(JsonInclude.Include.NON_NULL)
public class PartnerCenterAccessGrant extends AccessGrant {
	@JsonProperty("id_token")
	private String idToken;

	public PartnerCenterAccessGrant(String accessToken, String scope, String refreshToken, String idToken, Long expiresIn) {
		super(accessToken, scope, refreshToken, expiresIn);
		this.idToken = idToken;
	}

	public String getIdToken() {
		return idToken;
	}

	public PartnerCenterAccessGrant setIdToken(String idToken) {
		this.idToken = idToken;
		return this;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy