Package com.datadog.api.client.v2.model
Class OAuthClientRegistrationRequest
java.lang.Object
com.datadog.api.client.v2.model.OAuthClientRegistrationRequest
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class OAuthClientRegistrationRequest
extends Object
Request payload for OAuth2 dynamic client registration as defined by RFC 7591.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionOAuthClientRegistrationRequest(String clientName, List<String> redirectUris) -
Method Summary
Modifier and TypeMethodDescriptionaddGrantTypesItem(OAuthClientRegistrationGrantType grantTypesItem) addRedirectUrisItem(String redirectUrisItem) addResponseTypesItem(OAuthClientRegistrationResponseType responseTypesItem) clientName(String clientName) booleanReturn true if this OAuthClientRegistrationRequest object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Human-readable name of the client.URL of the home page of the client.OAuth 2.0 grant types the client may use.URL referencing the client's JSON Web Key Set.URL referencing a logo for the client.URL pointing to the client's privacy policy.Array of redirection URI strings used by the client in redirect-based flows.OAuth 2.0 response types the client may use.getScope()Space-separated list of scope values the client may request.Requested authentication method for the token endpoint.URL pointing to the client's terms of service.grantTypes(List<OAuthClientRegistrationGrantType> grantTypes) inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.redirectUris(List<String> redirectUris) responseTypes(List<OAuthClientRegistrationResponseType> responseTypes) voidsetClientName(String clientName) voidsetClientUri(String clientUri) voidsetGrantTypes(List<OAuthClientRegistrationGrantType> grantTypes) voidsetJwksUri(String jwksUri) voidsetLogoUri(String logoUri) voidsetPolicyUri(String policyUri) voidsetRedirectUris(List<String> redirectUris) voidsetResponseTypes(List<OAuthClientRegistrationResponseType> responseTypes) voidvoidsetTokenEndpointAuthMethod(String tokenEndpointAuthMethod) voidtokenEndpointAuthMethod(String tokenEndpointAuthMethod) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_CLIENT_NAME
- See Also:
-
JSON_PROPERTY_CLIENT_URI
- See Also:
-
JSON_PROPERTY_GRANT_TYPES
- See Also:
-
JSON_PROPERTY_JWKS_URI
- See Also:
-
JSON_PROPERTY_LOGO_URI
- See Also:
-
JSON_PROPERTY_POLICY_URI
- See Also:
-
JSON_PROPERTY_REDIRECT_URIS
- See Also:
-
JSON_PROPERTY_RESPONSE_TYPES
- See Also:
-
JSON_PROPERTY_SCOPE
- See Also:
-
JSON_PROPERTY_TOKEN_ENDPOINT_AUTH_METHOD
- See Also:
-
JSON_PROPERTY_TOS_URI
- See Also:
-
-
Constructor Details
-
OAuthClientRegistrationRequest
public OAuthClientRegistrationRequest() -
OAuthClientRegistrationRequest
-
-
Method Details
-
clientName
-
getClientName
Human-readable name of the client. Control characters are rejected.- Returns:
- clientName
-
setClientName
-
clientUri
-
getClientUri
URL of the home page of the client.- Returns:
- clientUri
-
setClientUri
-
grantTypes
-
addGrantTypesItem
public OAuthClientRegistrationRequest addGrantTypesItem(OAuthClientRegistrationGrantType grantTypesItem) -
getGrantTypes
OAuth 2.0 grant types the client may use. Defaults toauthorization_codeandrefresh_tokenwhen omitted.- Returns:
- grantTypes
-
setGrantTypes
-
jwksUri
-
getJwksUri
URL referencing the client's JSON Web Key Set.- Returns:
- jwksUri
-
setJwksUri
-
logoUri
-
getLogoUri
URL referencing a logo for the client.- Returns:
- logoUri
-
setLogoUri
-
policyUri
-
getPolicyUri
URL pointing to the client's privacy policy.- Returns:
- policyUri
-
setPolicyUri
-
redirectUris
-
addRedirectUrisItem
-
getRedirectUris
Array of redirection URI strings used by the client in redirect-based flows.- Returns:
- redirectUris
-
setRedirectUris
-
responseTypes
public OAuthClientRegistrationRequest responseTypes(List<OAuthClientRegistrationResponseType> responseTypes) -
addResponseTypesItem
public OAuthClientRegistrationRequest addResponseTypesItem(OAuthClientRegistrationResponseType responseTypesItem) -
getResponseTypes
OAuth 2.0 response types the client may use. Onlycodeis supported.- Returns:
- responseTypes
-
setResponseTypes
-
scope
-
getScope
Space-separated list of scope values the client may request.- Returns:
- scope
-
setScope
-
tokenEndpointAuthMethod
-
getTokenEndpointAuthMethod
Requested authentication method for the token endpoint. Onlynoneis supported.- Returns:
- tokenEndpointAuthMethod
-
setTokenEndpointAuthMethod
-
tosUri
-
getTosUri
URL pointing to the client's terms of service.- Returns:
- tosUri
-
setTosUri
-
putAdditionalProperty
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- The arbitrary key to setvalue- The associated value- Returns:
- OAuthClientRegistrationRequest
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- The additional properties
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- The arbitrary key to get- Returns:
- The specific additional property for the given key
-
equals
Return true if this OAuthClientRegistrationRequest object is equal to o. -
hashCode
public int hashCode() -
toString
-