Class OAuthClientDetailsModel

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
IntegrationClientCredentialsDetailsModel, OpenIDClientDetailsModel

public class OAuthClientDetailsModel extends ItemModel
Generated model class for type OAuthClientDetails first defined at extension oauth2.
See Also:
  • Field Details

    • _TYPECODE

      public static final String _TYPECODE
      Generated model type code constant.
      See Also:
    • CLIENTID

      public static final String CLIENTID
      Generated constant - Attribute key of OAuthClientDetails.clientId attribute defined at extension oauth2.
      See Also:
    • RESOURCEIDS

      public static final String RESOURCEIDS
      Generated constant - Attribute key of OAuthClientDetails.resourceIds attribute defined at extension oauth2.
      See Also:
    • CLIENTSECRET

      public static final String CLIENTSECRET
      Generated constant - Attribute key of OAuthClientDetails.clientSecret attribute defined at extension oauth2.
      See Also:
    • SCOPE

      public static final String SCOPE
      Generated constant - Attribute key of OAuthClientDetails.scope attribute defined at extension oauth2.
      See Also:
    • AUTHORIZEDGRANTTYPES

      public static final String AUTHORIZEDGRANTTYPES
      Generated constant - Attribute key of OAuthClientDetails.authorizedGrantTypes attribute defined at extension oauth2.
      See Also:
    • REGISTEREDREDIRECTURI

      public static final String REGISTEREDREDIRECTURI
      Generated constant - Attribute key of OAuthClientDetails.registeredRedirectUri attribute defined at extension oauth2.
      See Also:
    • AUTHORITIES

      public static final String AUTHORITIES
      Generated constant - Attribute key of OAuthClientDetails.authorities attribute defined at extension oauth2.
      See Also:
    • ACCESSTOKENVALIDITYSECONDS

      public static final String ACCESSTOKENVALIDITYSECONDS
      Generated constant - Attribute key of OAuthClientDetails.accessTokenValiditySeconds attribute defined at extension oauth2.
      See Also:
    • REFRESHTOKENVALIDITYSECONDS

      public static final String REFRESHTOKENVALIDITYSECONDS
      Generated constant - Attribute key of OAuthClientDetails.refreshTokenValiditySeconds attribute defined at extension oauth2.
      See Also:
    • AUTOAPPROVE

      public static final String AUTOAPPROVE
      Generated constant - Attribute key of OAuthClientDetails.autoApprove attribute defined at extension oauth2.
      See Also:
    • DISABLED

      public static final String DISABLED
      Generated constant - Attribute key of OAuthClientDetails.disabled attribute defined at extension oauth2.
      See Also:
    • OAUTHURL

      public static final String OAUTHURL
      Generated constant - Attribute key of OAuthClientDetails.oAuthUrl attribute defined at extension apiregistryservices.
      See Also:
  • Constructor Details

    • OAuthClientDetailsModel

      public OAuthClientDetailsModel()
      Generated constructor - Default constructor for generic creation.
    • OAuthClientDetailsModel

      public OAuthClientDetailsModel(ItemModelContext ctx)
      Generated constructor - Default constructor for creation with existing context
      Parameters:
      ctx - the model context to be injected, must not be null
    • OAuthClientDetailsModel

      @Deprecated(since="4.1.1", forRemoval=true) public OAuthClientDetailsModel(String _clientId)
      Deprecated, for removal: This API element is subject to removal in a future version.
      since 4.1.1 Please use the default constructor without parameters
      Generated constructor - Constructor with all mandatory attributes.
      Parameters:
      _clientId - initial attribute declared by type OAuthClientDetails at extension oauth2
    • OAuthClientDetailsModel

      @Deprecated(since="4.1.1", forRemoval=true) public OAuthClientDetailsModel(String _clientId, ItemModel _owner)
      Deprecated, for removal: This API element is subject to removal in a future version.
      since 4.1.1 Please use the default constructor without parameters
      Generated constructor - for all mandatory and initial attributes.
      Parameters:
      _clientId - initial attribute declared by type OAuthClientDetails at extension oauth2
      _owner - initial attribute declared by type Item at extension core
  • Method Details

    • getAccessTokenValiditySeconds

      @Accessor(qualifier="accessTokenValiditySeconds", type=GETTER) public Integer getAccessTokenValiditySeconds()
      Generated method - Getter of the OAuthClientDetails.accessTokenValiditySeconds attribute defined at extension oauth2.
      Returns:
      the accessTokenValiditySeconds - Set of authorities granted to client
    • getAuthorities

      @Accessor(qualifier="authorities", type=GETTER) public Set<String> getAuthorities()
      Generated method - Getter of the OAuthClientDetails.authorities attribute defined at extension oauth2. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the authorities - Set of authorities granted to client
    • getAuthorizedGrantTypes

      @Accessor(qualifier="authorizedGrantTypes", type=GETTER) public Set<String> getAuthorizedGrantTypes()
      Generated method - Getter of the OAuthClientDetails.authorizedGrantTypes attribute defined at extension oauth2. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the authorizedGrantTypes - Set of grant types for client
    • getAutoApprove

      @Accessor(qualifier="autoApprove", type=GETTER) public Set<String> getAutoApprove()
      Generated method - Getter of the OAuthClientDetails.autoApprove attribute defined at extension oauth2. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the autoApprove - Set of auto approve scopes of client
    • getClientId

      @Accessor(qualifier="clientId", type=GETTER) public String getClientId()
      Generated method - Getter of the OAuthClientDetails.clientId attribute defined at extension oauth2.
      Returns:
      the clientId - Client Id
    • getClientSecret

      @Accessor(qualifier="clientSecret", type=GETTER) public String getClientSecret()
      Generated method - Getter of the OAuthClientDetails.clientSecret attribute defined at extension oauth2.
      Returns:
      the clientSecret - Client Secret
    • getDisabled

      @Accessor(qualifier="disabled", type=GETTER) public Boolean getDisabled()
      Generated method - Getter of the OAuthClientDetails.disabled attribute defined at extension oauth2.
      Returns:
      the disabled - Client disabled
    • getOAuthUrl

      @Accessor(qualifier="oAuthUrl", type=GETTER) public String getOAuthUrl()
      Generated method - Getter of the OAuthClientDetails.oAuthUrl attribute defined at extension apiregistryservices.
      Returns:
      the oAuthUrl - URL for accessing oauth
    • getRefreshTokenValiditySeconds

      @Accessor(qualifier="refreshTokenValiditySeconds", type=GETTER) public Integer getRefreshTokenValiditySeconds()
      Generated method - Getter of the OAuthClientDetails.refreshTokenValiditySeconds attribute defined at extension oauth2.
      Returns:
      the refreshTokenValiditySeconds - Set of authorities granted to client
    • getRegisteredRedirectUri

      @Accessor(qualifier="registeredRedirectUri", type=GETTER) public Set<String> getRegisteredRedirectUri()
      Generated method - Getter of the OAuthClientDetails.registeredRedirectUri attribute defined at extension oauth2. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the registeredRedirectUri - Set of redirect Uri for client
    • getResourceIds

      @Accessor(qualifier="resourceIds", type=GETTER) public Set<String> getResourceIds()
      Generated method - Getter of the OAuthClientDetails.resourceIds attribute defined at extension oauth2. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the resourceIds - Set of Resource Id's
    • getScope

      @Accessor(qualifier="scope", type=GETTER) public Set<String> getScope()
      Generated method - Getter of the OAuthClientDetails.scope attribute defined at extension oauth2. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the scope - Set of client scopes
    • setAccessTokenValiditySeconds

      @Accessor(qualifier="accessTokenValiditySeconds", type=SETTER) public void setAccessTokenValiditySeconds(Integer value)
      Generated method - Setter of OAuthClientDetails.accessTokenValiditySeconds attribute defined at extension oauth2.
      Parameters:
      value - the accessTokenValiditySeconds - Set of authorities granted to client
    • setAuthorities

      @Accessor(qualifier="authorities", type=SETTER) public void setAuthorities(Set<String> value)
      Generated method - Setter of OAuthClientDetails.authorities attribute defined at extension oauth2.
      Parameters:
      value - the authorities - Set of authorities granted to client
    • setAuthorizedGrantTypes

      @Accessor(qualifier="authorizedGrantTypes", type=SETTER) public void setAuthorizedGrantTypes(Set<String> value)
      Generated method - Setter of OAuthClientDetails.authorizedGrantTypes attribute defined at extension oauth2.
      Parameters:
      value - the authorizedGrantTypes - Set of grant types for client
    • setAutoApprove

      @Accessor(qualifier="autoApprove", type=SETTER) public void setAutoApprove(Set<String> value)
      Generated method - Setter of OAuthClientDetails.autoApprove attribute defined at extension oauth2.
      Parameters:
      value - the autoApprove - Set of auto approve scopes of client
    • setClientId

      @Accessor(qualifier="clientId", type=SETTER) public void setClientId(String value)
      Generated method - Initial setter of OAuthClientDetails.clientId attribute defined at extension oauth2. Can only be used at creation of model - before first save.
      Parameters:
      value - the clientId - Client Id
    • setClientSecret

      @Accessor(qualifier="clientSecret", type=SETTER) public void setClientSecret(String value)
      Generated method - Setter of OAuthClientDetails.clientSecret attribute defined at extension oauth2.
      Parameters:
      value - the clientSecret - Client Secret
    • setDisabled

      @Accessor(qualifier="disabled", type=SETTER) public void setDisabled(Boolean value)
      Generated method - Setter of OAuthClientDetails.disabled attribute defined at extension oauth2.
      Parameters:
      value - the disabled - Client disabled
    • setOAuthUrl

      @Accessor(qualifier="oAuthUrl", type=SETTER) public void setOAuthUrl(String value)
      Generated method - Setter of OAuthClientDetails.oAuthUrl attribute defined at extension apiregistryservices.
      Parameters:
      value - the oAuthUrl - URL for accessing oauth
    • setRefreshTokenValiditySeconds

      @Accessor(qualifier="refreshTokenValiditySeconds", type=SETTER) public void setRefreshTokenValiditySeconds(Integer value)
      Generated method - Setter of OAuthClientDetails.refreshTokenValiditySeconds attribute defined at extension oauth2.
      Parameters:
      value - the refreshTokenValiditySeconds - Set of authorities granted to client
    • setRegisteredRedirectUri

      @Accessor(qualifier="registeredRedirectUri", type=SETTER) public void setRegisteredRedirectUri(Set<String> value)
      Generated method - Setter of OAuthClientDetails.registeredRedirectUri attribute defined at extension oauth2.
      Parameters:
      value - the registeredRedirectUri - Set of redirect Uri for client
    • setResourceIds

      @Accessor(qualifier="resourceIds", type=SETTER) public void setResourceIds(Set<String> value)
      Generated method - Setter of OAuthClientDetails.resourceIds attribute defined at extension oauth2.
      Parameters:
      value - the resourceIds - Set of Resource Id's
    • setScope

      @Accessor(qualifier="scope", type=SETTER) public void setScope(Set<String> value)
      Generated method - Setter of OAuthClientDetails.scope attribute defined at extension oauth2.
      Parameters:
      value - the scope - Set of client scopes