com.nimbusds.openid.connect.sdk.claims.ClaimsTransport Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of oauth2-oidc-sdk Show documentation
Show all versions of oauth2-oidc-sdk Show documentation
OAuth 2.0 SDK with OpenID Connection extensions for developing client
and server applications.
package com.nimbusds.openid.connect.sdk.claims;
/**
* Enumeration of the available claims transports.
*/
public enum ClaimsTransport {
/**
* The claims are returned at the UserInfo endpoint.
*/
USERINFO,
/**
* The claims are returned with the ID token.
*/
ID_TOKEN;
/**
* Returns the default claims transport.
*
* @return The default claims transport.
*/
public static ClaimsTransport getDefault() {
return USERINFO;
}
}