Class DynamicallyRegisteredClientAttributes
Object
se.curity.identityserver.sdk.attribute.Attributes
se.curity.identityserver.sdk.attribute.scim.v2.ResourceAttributes<DynamicallyRegisteredClientAttributes>
se.curity.identityserver.sdk.attribute.scim.v2.extensions.DynamicallyRegisteredClientAttributes
- All Implemented Interfaces:
Iterable<Attribute>,AttributeContainer<Attributes>,SerializableAsMap
public final class DynamicallyRegisteredClientAttributes
extends ResourceAttributes<DynamicallyRegisteredClientAttributes>
- Since:
- 2.1.0
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from class se.curity.identityserver.sdk.attribute.scim.v2.ResourceAttributes
EXTERNAL_ID, ID, META, SCHEMAS -
Method Summary
Modifier and TypeMethodDescriptionbooleanCheck whether the attribute with the given name exists either in this DCR Attributes, or in the nested "attributes".booleancontains(AttributeName name) Check whether the attribute with the given name exists either in this DCR Attributes, or in the nested "attributes".protected DynamicallyRegisteredClientAttributesfrom(Attributes attributes) Create a new instance of R from the provided Attributes.longThe user that was authenticated when the initial access token was issued to the dynamically registering client.Deprecated.getId()A unique identifier for a SCIM resource as defined by the service provider.getJwks()Deprecated.this method should not be used as pre-processing attributes are automatically merged intoDynamicallyRegisteredClientAttributesas any other attributes.getScope()withAttributes(MapAttributeValue extraAttributes) withAuthenticatedUser(String authenticatedUser) withClientId(String clientId) withClientSecret(@Nullable String clientSecret) withConsentors(Collection<String> consentors) withGrantTypes(Collection<String> grantTypes) withInitialClient(String initialClient) withInstanceOfClient(String instanceOfClient) withPreProcessingAttributes(Map<String, ?> preProcessingAttributes) Deprecated.this method delegates towithAttributes(MapAttributeValue).withRedirectUris(Collection<String> redirectUris) withScope(Collection<String> scope) Methods inherited from class se.curity.identityserver.sdk.attribute.scim.v2.ResourceAttributes
addSchema, append, filter, fromMap, getBooleanValue, getExternalId, getListOfUniqueStringsValue, getMeta, getSchemas, getStringValue, getStringValue, logFailedAttributeValidation, logFailedAttributeValidation, removeAttribute, with, with, withExternalId, withId, withMeta, withSchemas, wrapMethods inherited from class se.curity.identityserver.sdk.attribute.Attributes
append, asMap, empty, equals, fromMap, get, getAll, getMandatoryAttribute, getMandatoryValue, getValuesOfType, hashCode, isEmpty, iterator, keys, of, of, of, of, of, of, removeAttributes, retainAttributes, size, stream, toMap, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface se.curity.identityserver.sdk.attribute.AttributeContainer
getOptionalValue, getOptionalValue, retainAttributeMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
RESOURCE_TYPE
- See Also:
-
DYNAMICALLY_REGISTERED_CLIENT_SCHEMA
- See Also:
-
PRE_PROCESSING_ATTRIBUTES
- See Also:
-
CLIENT_ID
- See Also:
-
CLIENT_SECRET
- See Also:
-
INSTANCE_OF_CLIENT
- See Also:
-
INITIAL_CLIENT
- See Also:
-
INITIAL_CLIENT_AUTHENTICATION_METHOD
- See Also:
-
AUTHENTICATED_USER
- See Also:
-
ATTRIBUTES
- See Also:
-
STATUS
- See Also:
-
SCOPE
- See Also:
-
REDIRECT_URIS
- See Also:
-
GRANT_TYPES
- See Also:
-
CLIENT_NAME
- See Also:
-
CLIENT_DESCRIPTION
- See Also:
-
CLIENT_URI
- See Also:
-
LOGO_URI
- See Also:
-
POLICY_URI
- See Also:
-
TOS_URI
- See Also:
-
DEFAULT_MAX_AGE
- See Also:
-
ALLOWED_ORIGINS
- See Also:
-
USER_CONSENT
- See Also:
-
ALLOW_SCOPE_DESELECTION
- See Also:
-
ONLY_CONSENTORS
- See Also:
-
CONSENTORS
- See Also:
-
REFRESH_TOKEN_TTL
- See Also:
-
REFRESH_TOKEN_MAX_ROLLING_LIFETIME
- See Also:
-
ACCESS_TOKEN_TTL
- See Also:
-
ID_TOKEN_TTL
- See Also:
-
ID_TOKEN_SIGNED_RESPONSE_ALG
- See Also:
-
ID_TOKEN_ENCRYPTED_RESPONSE_ALG
- See Also:
-
ID_TOKEN_ENCRYPTED_RESPONSE_ENC
- See Also:
-
APPLICATION_URL
- See Also:
-
REQUIRE_PROOF_KEY
- See Also:
-
DISALLOWED_PROOF_KEY_CHALLENGE_METHODS
- See Also:
-
AUTHENTICATORS
- See Also:
-
BACKCHANNEL_AUTHENTICATORS
- See Also:
-
AUTHENTICATOR_FILTERS
- See Also:
-
FRONTCHANNEL_LOGOUT_URI
- See Also:
-
BACKCHANNEL_LOGOUT_URI
- See Also:
-
ALLOWED_POST_LOGOUT_REDIRECT_URIS
- See Also:
-
SUBJECT_TYPE
- See Also:
-
SECTOR_IDENTIFIER
- See Also:
-
REQUEST_URIS
- See Also:
-
REQUEST_OBJECT_SIGNING_ALG
- See Also:
-
USERINFO_SIGNED_RESPONSE_ALG
- See Also:
-
TLS_CLIENT_AUTH_SUBJECT_DN
- See Also:
-
INITIATE_LOGIN_URI
- See Also:
-
PROPERTIES
- See Also:
-
CIBA_DELIVERY_MODE
- See Also:
-
CIBA_NOTIFICATION_ENDPOINT
- See Also:
-
CIBA_REQUEST_SIGINING_ALG
- See Also:
-
CIBA_USER_CODE_PARAMETER
- See Also:
-
REQUIRE_PUSHED_AUTHORIZATION_REQUESTS
- See Also:
-
ALLOW_PER_REQUEST_REDIRECT_URIS
- See Also:
-
JWKS
- See Also:
-
JWKS_URI
- See Also:
-
TOKEN_ENDPOINT_AUTH_METHOD
- See Also:
-
TOKEN_ENDPOINT_AUTH_SIGNING_ALG
- See Also:
-
AUTHORIZATION_SIGNED_RESPONSE_ALG
- See Also:
-
-
Method Details
-
of
-
contains
Check whether the attribute with the given name exists either in this DCR Attributes, or in the nested "attributes".- Parameters:
name- attribute name- Returns:
- true if the attribute exists
-
contains
Check whether the attribute with the given name exists either in this DCR Attributes, or in the nested "attributes".- Specified by:
containsin interfaceAttributeContainer<Attributes>- Overrides:
containsin classAttributes- Parameters:
name- attribute name- Returns:
- true if the attribute exists
-
from
Description copied from class:ResourceAttributesCreate a new instance of R from the provided Attributes.- Specified by:
fromin classResourceAttributes<DynamicallyRegisteredClientAttributes>- Parameters:
attributes- source attributes.- Returns:
- attributes wrapped into an instance of R.
-
getId
Description copied from class:ResourceAttributesA unique identifier for a SCIM resource as defined by the service provider.This is a mandatory value.
- Overrides:
getIdin classResourceAttributes<DynamicallyRegisteredClientAttributes>- Returns:
- the id
-
getClientId
-
getClientSecret
-
getInstanceOfClient
-
getInitialClient
-
getAuthenticatedUser
The user that was authenticated when the initial access token was issued to the dynamically registering client.- Returns:
- the user name of the subject that was authenticated; null if the user was not authenticated (e.g., because the client credential flow was used instead of the code, implicit, or assisted token flows)
-
getStatus
-
getScope
-
getRedirectUris
-
getGrantTypes
-
getAttributes
- Returns:
- nested attributes of this client.
- "API Note:"
- The separation between root-level attributes and the nested attributes returned by this method
is an implementation detail. This method should only be used by
DataAccessProviderimplementations, for example, which need to understand the internal serialization representation of this class.
-
getProperties
-
getAllowedOrigins
-
getDisallowedProofKeyChallengeMethods
-
getAuthenticators
-
getBackchannelAuthenticators
-
getAuthenticatorFilters
-
getCapabilities
Deprecated.usegetGrantTypes()instead. Dynamic clients' capabilities are computed based on grant types and other client settings.- Returns:
- empty collection
-
getAllowedPostLogoutRedirectUris
-
getRequestUris
-
getConsentors
- Returns:
- the list of consentor identifiers for this client.
- Since:
- 4.1.0
-
getClientName
-
getJwks
-
getJwksUri
-
getInitiateLoginUri
-
getBackChannelTokenDeliveryMethod
-
getBackChannelClientNotificationEndpoint
-
getBackChannelRequestSigningAlg
-
getBackChannelUserCodeParameter
-
getClientDescription
-
requiresUserConsent
-
allowScopeDeselection
-
isOnlyConsentors
-
getAccessTokenTimeToLive
public long getAccessTokenTimeToLive() -
getRefreshTokenTimeToLive
-
getRefreshTokenMaxRollingLifetime
-
getIdTokenTimeToLive
-
getDefaultMaxAge
-
getApplicationUrl
-
getFrontchannelLogoutUri
-
requireProofKey
-
requirePushedAuthorizationRequests
-
allowPerRequestRedirectUris
-
getLogoUri
-
getTermsOfServiceUri
-
getPolicyUri
-
getClientUri
-
getBackchannelLogoutUri
-
getTlsClientAuthDn
-
getSubjectType
-
getSectorIdentifier
-
getUserInfoSignedResponseAlg
-
getIdTokenSignedResponseAlg
-
getIdTokenEncryptedResponseKeyAlg
-
getIdTokenEncryptedResponseContentAlg
-
getTokenEndpointAuthMethod
- Returns:
- the effective token_endpoint_auth_method
- Since:
- 4.3.0
-
getTokenEndpointAuthSigningAlg
- Returns:
- the registered token_endpoint_auth_signing_alg
- Since:
- 4.3.0
-
getRequestObjectSigningAlg
-
getAuthorizationSignedResponseAlg
-
getPreProcessingAttributes
Deprecated.this method should not be used as pre-processing attributes are automatically merged intoDynamicallyRegisteredClientAttributesas any other attributes.- Returns:
- pre-processing attributes as currently serialized in storage. From Curity version 6.7, pre-processing attributes are no longer stored separately from the other attributes, hence this method will always return an empty value.
-
withClientId
-
withClientSecret
-
withInstanceOfClient
-
withInitialClient
-
withAuthenticatedUser
-
withAttributes
-
withPreProcessingAttributes
@Deprecated(since="6.7") public DynamicallyRegisteredClientAttributes withPreProcessingAttributes(Map<String, ?> preProcessingAttributes) Deprecated.this method delegates towithAttributes(MapAttributeValue). Please use that instead.Add custom attributes to this client.- Parameters:
preProcessingAttributes- attributes to merge into this client.- Returns:
- new instance of attributes with the modified attributes.
-
withStatus
public DynamicallyRegisteredClientAttributes withStatus(DynamicallyRegisteredClientAttributes.Status status) -
withScope
-
withConsentors
- Parameters:
consentors- a list with consentor identifiers.- Returns:
- a copy of the attributes with the new consentor identifiers.
- Since:
- 4.1.0
-
withRedirectUris
-
withGrantTypes
-
getGrantTypes()instead.