Package sh.ory.model
Class NormalizedProjectRevisionThirdPartyProvider
java.lang.Object
sh.ory.model.NormalizedProjectRevisionThirdPartyProvider
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-04-19T11:31:27.587817519Z[Etc/UTC]") public class NormalizedProjectRevisionThirdPartyProvider extends Object
NormalizedProjectRevisionThirdPartyProvider
-
Field Summary
Fields Modifier and Type Field Description static StringSERIALIZED_NAME_APPLE_PRIVATE_KEYstatic StringSERIALIZED_NAME_APPLE_PRIVATE_KEY_IDstatic StringSERIALIZED_NAME_APPLE_TEAM_IDstatic StringSERIALIZED_NAME_AUTH_URLstatic StringSERIALIZED_NAME_AZURE_TENANTstatic StringSERIALIZED_NAME_CLIENT_IDstatic StringSERIALIZED_NAME_CLIENT_SECRETstatic StringSERIALIZED_NAME_CREATED_ATstatic StringSERIALIZED_NAME_IDstatic StringSERIALIZED_NAME_ISSUER_URLstatic StringSERIALIZED_NAME_LABELstatic StringSERIALIZED_NAME_MAPPER_URLstatic StringSERIALIZED_NAME_PROJECT_REVISION_IDstatic StringSERIALIZED_NAME_PROVIDERstatic StringSERIALIZED_NAME_PROVIDER_IDstatic StringSERIALIZED_NAME_REQUESTED_CLAIMSstatic StringSERIALIZED_NAME_SCOPEstatic StringSERIALIZED_NAME_TOKEN_URLstatic StringSERIALIZED_NAME_UPDATED_AT -
Constructor Summary
Constructors Constructor Description NormalizedProjectRevisionThirdPartyProvider()NormalizedProjectRevisionThirdPartyProvider(OffsetDateTime createdAt, OffsetDateTime updatedAt) -
Method Summary
Modifier and Type Method Description NormalizedProjectRevisionThirdPartyProvideraddScopeItem(String scopeItem)NormalizedProjectRevisionThirdPartyProviderapplePrivateKey(String applePrivateKey)NormalizedProjectRevisionThirdPartyProviderapplePrivateKeyId(String applePrivateKeyId)NormalizedProjectRevisionThirdPartyProviderappleTeamId(String appleTeamId)NormalizedProjectRevisionThirdPartyProviderauthUrl(String authUrl)NormalizedProjectRevisionThirdPartyProviderazureTenant(String azureTenant)NormalizedProjectRevisionThirdPartyProviderclientId(String clientId)NormalizedProjectRevisionThirdPartyProviderclientSecret(String clientSecret)booleanequals(Object o)StringgetApplePrivateKey()Get applePrivateKeyStringgetApplePrivateKeyId()Apple Private Key Identifier Sign In with Apple Private Key Identifier needed for generating a JWT token for client secretStringgetAppleTeamId()Apple Developer Team ID Apple Developer Team ID needed for generating a JWT token for client secretStringgetAuthUrl()AuthURL is the authorize url, typically something like: https://example.org/oauth2/auth Should only be used when the OAuth2 / OpenID Connect server is not supporting OpenID Connect Discovery and when `provider` is set to `generic`.StringgetAzureTenant()Tenant is the Azure AD Tenant to use for authentication, and must be set when `provider` is set to `microsoft`.StringgetClientId()ClientID is the application's Client ID.StringgetClientSecret()Get clientSecretOffsetDateTimegetCreatedAt()The Project's Revision Creation DateUUIDgetId()Get idStringgetIssuerUrl()IssuerURL is the OpenID Connect Server URL.StringgetLabel()Label represents an optional label which can be used in the UI generation.StringgetMapperUrl()Mapper specifies the JSONNet code snippet which uses the OpenID Connect Provider's data (e.g.UUIDgetProjectRevisionId()Get projectRevisionIdStringgetProvider()Provider is either \"generic\" for a generic OAuth 2.0 / OpenID Connect Provider or one of: generic google github gitlab microsoft discord slack facebook vk yandex appleStringgetProviderId()ID is the provider's IDObjectgetRequestedClaims()Get requestedClaimsList<String>getScope()Get scopeStringgetTokenUrl()TokenURL is the token url, typically something like: https://example.org/oauth2/token Should only be used when the OAuth2 / OpenID Connect server is not supporting OpenID Connect Discovery and when `provider` is set to `generic`.OffsetDateTimegetUpdatedAt()Last Time Project's Revision was UpdatedinthashCode()NormalizedProjectRevisionThirdPartyProviderid(UUID id)NormalizedProjectRevisionThirdPartyProviderissuerUrl(String issuerUrl)NormalizedProjectRevisionThirdPartyProviderlabel(String label)NormalizedProjectRevisionThirdPartyProvidermapperUrl(String mapperUrl)NormalizedProjectRevisionThirdPartyProviderprojectRevisionId(UUID projectRevisionId)NormalizedProjectRevisionThirdPartyProviderprovider(String provider)NormalizedProjectRevisionThirdPartyProviderproviderId(String providerId)NormalizedProjectRevisionThirdPartyProviderrequestedClaims(Object requestedClaims)NormalizedProjectRevisionThirdPartyProviderscope(List<String> scope)voidsetApplePrivateKey(String applePrivateKey)voidsetApplePrivateKeyId(String applePrivateKeyId)voidsetAppleTeamId(String appleTeamId)voidsetAuthUrl(String authUrl)voidsetAzureTenant(String azureTenant)voidsetClientId(String clientId)voidsetClientSecret(String clientSecret)voidsetId(UUID id)voidsetIssuerUrl(String issuerUrl)voidsetLabel(String label)voidsetMapperUrl(String mapperUrl)voidsetProjectRevisionId(UUID projectRevisionId)voidsetProvider(String provider)voidsetProviderId(String providerId)voidsetRequestedClaims(Object requestedClaims)voidsetScope(List<String> scope)voidsetTokenUrl(String tokenUrl)NormalizedProjectRevisionThirdPartyProvidertokenUrl(String tokenUrl)StringtoString()
-
Field Details
-
SERIALIZED_NAME_APPLE_PRIVATE_KEY
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_APPLE_PRIVATE_KEY_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_APPLE_TEAM_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_AUTH_URL
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_AZURE_TENANT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CLIENT_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CLIENT_SECRET
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CREATED_AT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ISSUER_URL
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_LABEL
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_MAPPER_URL
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PROJECT_REVISION_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PROVIDER
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PROVIDER_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_REQUESTED_CLAIMS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SCOPE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TOKEN_URL
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_UPDATED_AT
- See Also:
- Constant Field Values
-
-
Constructor Details
-
NormalizedProjectRevisionThirdPartyProvider
public NormalizedProjectRevisionThirdPartyProvider() -
NormalizedProjectRevisionThirdPartyProvider
public NormalizedProjectRevisionThirdPartyProvider(OffsetDateTime createdAt, OffsetDateTime updatedAt)
-
-
Method Details
-
applePrivateKey
-
getApplePrivateKey
Get applePrivateKey- Returns:
- applePrivateKey
-
setApplePrivateKey
-
applePrivateKeyId
-
getApplePrivateKeyId
Apple Private Key Identifier Sign In with Apple Private Key Identifier needed for generating a JWT token for client secret- Returns:
- applePrivateKeyId
-
setApplePrivateKeyId
-
appleTeamId
-
getAppleTeamId
Apple Developer Team ID Apple Developer Team ID needed for generating a JWT token for client secret- Returns:
- appleTeamId
-
setAppleTeamId
-
authUrl
-
getAuthUrl
AuthURL is the authorize url, typically something like: https://example.org/oauth2/auth Should only be used when the OAuth2 / OpenID Connect server is not supporting OpenID Connect Discovery and when `provider` is set to `generic`.- Returns:
- authUrl
-
setAuthUrl
-
azureTenant
-
getAzureTenant
Tenant is the Azure AD Tenant to use for authentication, and must be set when `provider` is set to `microsoft`. Can be either `common`, `organizations`, `consumers` for a multitenant application or a specific tenant like `8eaef023-2b34-4da1-9baa-8bc8c9d6a490` or `contoso.onmicrosoft.com`.- Returns:
- azureTenant
-
setAzureTenant
-
clientId
-
getClientId
ClientID is the application's Client ID.- Returns:
- clientId
-
setClientId
-
clientSecret
-
getClientSecret
Get clientSecret- Returns:
- clientSecret
-
setClientSecret
-
getCreatedAt
The Project's Revision Creation Date- Returns:
- createdAt
-
id
-
getId
Get id- Returns:
- id
-
setId
-
issuerUrl
-
getIssuerUrl
IssuerURL is the OpenID Connect Server URL. You can leave this empty if `provider` is not set to `generic`. If set, neither `auth_url` nor `token_url` are required.- Returns:
- issuerUrl
-
setIssuerUrl
-
label
-
getLabel
Label represents an optional label which can be used in the UI generation.- Returns:
- label
-
setLabel
-
mapperUrl
-
getMapperUrl
Mapper specifies the JSONNet code snippet which uses the OpenID Connect Provider's data (e.g. GitHub or Google profile information) to hydrate the identity's data. It can be either a URL (file://, http(s)://, base64://) or an inline JSONNet code snippet.- Returns:
- mapperUrl
-
setMapperUrl
-
projectRevisionId
-
getProjectRevisionId
Get projectRevisionId- Returns:
- projectRevisionId
-
setProjectRevisionId
-
provider
-
getProvider
Provider is either \"generic\" for a generic OAuth 2.0 / OpenID Connect Provider or one of: generic google github gitlab microsoft discord slack facebook vk yandex apple- Returns:
- provider
-
setProvider
-
providerId
-
getProviderId
ID is the provider's ID- Returns:
- providerId
-
setProviderId
-
requestedClaims
-
getRequestedClaims
Get requestedClaims- Returns:
- requestedClaims
-
setRequestedClaims
-
scope
-
addScopeItem
-
getScope
Get scope- Returns:
- scope
-
setScope
-
tokenUrl
-
getTokenUrl
TokenURL is the token url, typically something like: https://example.org/oauth2/token Should only be used when the OAuth2 / OpenID Connect server is not supporting OpenID Connect Discovery and when `provider` is set to `generic`.- Returns:
- tokenUrl
-
setTokenUrl
-
getUpdatedAt
Last Time Project's Revision was Updated- Returns:
- updatedAt
-
equals
-
hashCode
public int hashCode() -
toString
-