类 OAuth2Application

java.lang.Object
cn.herodotus.engine.assistant.core.definition.domain.AbstractEntity
cn.herodotus.engine.data.core.entity.BaseEntity
cn.herodotus.engine.data.core.entity.BaseSysEntity
cn.herodotus.engine.oauth2.management.entity.OAuth2Application
所有已实现的接口:
cn.herodotus.engine.assistant.core.definition.domain.Entity, cn.herodotus.engine.oauth2.core.definition.domain.RegisteredClientDetails, Serializable

@Entity public class OAuth2Application extends cn.herodotus.engine.data.core.entity.BaseSysEntity implements cn.herodotus.engine.oauth2.core.definition.domain.RegisteredClientDetails

Description: OAuth2 应用

Spring Authorization Server 默认的 RegisteredClient 不便于扩展。增加该类用于存储标准 RegisteredClient 表结构以外的扩展信息。

作者:
: gengwei.zheng
另请参阅:
Date:
: 2022/3/1 16:45
  • 构造器详细资料

    • OAuth2Application

      public OAuth2Application()
  • 方法详细资料

    • getApplicationId

      public String getApplicationId()
    • setApplicationId

      public void setApplicationId(String applicationId)
    • getApplicationName

      public String getApplicationName()
    • setApplicationName

      public void setApplicationName(String applicationName)
    • getAbbreviation

      public String getAbbreviation()
    • setAbbreviation

      public void setAbbreviation(String abbreviation)
    • getLogo

      public String getLogo()
    • setLogo

      public void setLogo(String logo)
    • getHomepage

      public String getHomepage()
    • setHomepage

      public void setHomepage(String homepage)
    • getApplicationType

      public cn.herodotus.engine.oauth2.core.enums.ApplicationType getApplicationType()
    • setApplicationType

      public void setApplicationType(cn.herodotus.engine.oauth2.core.enums.ApplicationType applicationType)
    • getId

      public String getId()
      指定者:
      getId 在接口中 cn.herodotus.engine.oauth2.core.definition.domain.RegisteredClientDetails
    • getClientId

      public String getClientId()
      指定者:
      getClientId 在接口中 cn.herodotus.engine.oauth2.core.definition.domain.RegisteredClientDetails
    • setClientId

      public void setClientId(String clientId)
    • getClientIdIssuedAt

      public LocalDateTime getClientIdIssuedAt()
      指定者:
      getClientIdIssuedAt 在接口中 cn.herodotus.engine.oauth2.core.definition.domain.RegisteredClientDetails
    • setClientIdIssuedAt

      public void setClientIdIssuedAt(LocalDateTime clientIdIssuedAt)
    • getClientSecret

      public String getClientSecret()
      指定者:
      getClientSecret 在接口中 cn.herodotus.engine.oauth2.core.definition.domain.RegisteredClientDetails
    • setClientSecret

      public void setClientSecret(String clientSecret)
    • getClientSecretExpiresAt

      public LocalDateTime getClientSecretExpiresAt()
      指定者:
      getClientSecretExpiresAt 在接口中 cn.herodotus.engine.oauth2.core.definition.domain.RegisteredClientDetails
    • getClientName

      public String getClientName()
      指定者:
      getClientName 在接口中 cn.herodotus.engine.oauth2.core.definition.domain.RegisteredClientDetails
    • setClientSecretExpiresAt

      public void setClientSecretExpiresAt(LocalDateTime clientSecretExpiresAt)
    • getClientAuthenticationMethods

      public String getClientAuthenticationMethods()
      指定者:
      getClientAuthenticationMethods 在接口中 cn.herodotus.engine.oauth2.core.definition.domain.RegisteredClientDetails
    • setClientAuthenticationMethods

      public void setClientAuthenticationMethods(String clientAuthenticationMethods)
    • getAuthorizationGrantTypes

      public String getAuthorizationGrantTypes()
      指定者:
      getAuthorizationGrantTypes 在接口中 cn.herodotus.engine.oauth2.core.definition.domain.RegisteredClientDetails
    • setAuthorizationGrantTypes

      public void setAuthorizationGrantTypes(String authorizationGrantTypes)
    • getRedirectUris

      public String getRedirectUris()
      指定者:
      getRedirectUris 在接口中 cn.herodotus.engine.oauth2.core.definition.domain.RegisteredClientDetails
    • setRedirectUris

      public void setRedirectUris(String redirectUris)
    • getPostLogoutRedirectUris

      public String getPostLogoutRedirectUris()
      指定者:
      getPostLogoutRedirectUris 在接口中 cn.herodotus.engine.oauth2.core.definition.domain.RegisteredClientDetails
    • setPostLogoutRedirectUris

      public void setPostLogoutRedirectUris(String postLogoutRedirectUris)
    • getRequireProofKey

      public Boolean getRequireProofKey()
    • setRequireProofKey

      public void setRequireProofKey(Boolean requireProofKey)
    • getRequireAuthorizationConsent

      public Boolean getRequireAuthorizationConsent()
    • setRequireAuthorizationConsent

      public void setRequireAuthorizationConsent(Boolean requireAuthorizationConsent)
    • getJwkSetUrl

      public String getJwkSetUrl()
    • setJwkSetUrl

      public void setJwkSetUrl(String jwkSetUrl)
    • getAuthenticationSigningAlgorithm

      public cn.herodotus.engine.oauth2.core.enums.Signature getAuthenticationSigningAlgorithm()
    • setAuthenticationSigningAlgorithm

      public void setAuthenticationSigningAlgorithm(cn.herodotus.engine.oauth2.core.enums.Signature authenticationSigningAlgorithm)
    • getAuthorizationCodeValidity

      public Duration getAuthorizationCodeValidity()
    • setAuthorizationCodeValidity

      public void setAuthorizationCodeValidity(Duration authorizationCodeValidity)
    • getAccessTokenValidity

      public Duration getAccessTokenValidity()
    • setAccessTokenValidity

      public void setAccessTokenValidity(Duration accessTokenValidity)
    • getDeviceCodeValidity

      public Duration getDeviceCodeValidity()
    • setDeviceCodeValidity

      public void setDeviceCodeValidity(Duration deviceCodeValidity)
    • getRefreshTokenValidity

      public Duration getRefreshTokenValidity()
    • setRefreshTokenValidity

      public void setRefreshTokenValidity(Duration refreshTokenValidity)
    • getAccessTokenFormat

      public cn.herodotus.engine.oauth2.core.enums.TokenFormat getAccessTokenFormat()
    • setAccessTokenFormat

      public void setAccessTokenFormat(cn.herodotus.engine.oauth2.core.enums.TokenFormat accessTokenFormat)
    • getReuseRefreshTokens

      public Boolean getReuseRefreshTokens()
    • setReuseRefreshTokens

      public void setReuseRefreshTokens(Boolean reuseRefreshTokens)
    • getIdTokenSignatureAlgorithm

      public cn.herodotus.engine.oauth2.core.enums.Signature getIdTokenSignatureAlgorithm()
    • setIdTokenSignatureAlgorithm

      public void setIdTokenSignatureAlgorithm(cn.herodotus.engine.oauth2.core.enums.Signature idTokenSignatureAlgorithm)
    • getScopes

      public Set<OAuth2Scope> getScopes()
    • setScopes

      public void setScopes(Set<OAuth2Scope> scopes)
    • toString

      public String toString()
      覆盖:
      toString 在类中 cn.herodotus.engine.data.core.entity.BaseEntity