Class ClientPolicyDefinition
java.lang.Object
org.iplass.mtp.auth.oauth.definition.ClientPolicyDefinition
- All Implemented Interfaces:
Serializable
ClientType別のポリシー定義です。
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlong
long
boolean
boolean
void
setAccessTokenLifetimeSeconds
(long accessTokenLifetimeSeconds) void
setClientType
(ClientType clientType) void
setConsentType
(ConsentTypeDefinition consentType) void
setRefreshTokenLifetimeSeconds
(long refreshTokenLifetimeSeconds) void
ClientType毎に利用可能なscopeを限定する場合設定します。 未設定の場合は、OAuthAuthorizationDefinitionに定義されるすべてのscopeが利用可能です。void
setSupportOpenIDConnect
(boolean supportOpenIDConnect) void
setSupportRefreshToken
(boolean supportRefreshToken)
-
Constructor Details
-
ClientPolicyDefinition
public ClientPolicyDefinition()
-
-
Method Details
-
getClientType
-
setClientType
-
getAccessTokenLifetimeSeconds
public long getAccessTokenLifetimeSeconds() -
setAccessTokenLifetimeSeconds
public void setAccessTokenLifetimeSeconds(long accessTokenLifetimeSeconds) -
isSupportRefreshToken
public boolean isSupportRefreshToken() -
setSupportRefreshToken
public void setSupportRefreshToken(boolean supportRefreshToken) -
getRefreshTokenLifetimeSeconds
public long getRefreshTokenLifetimeSeconds() -
setRefreshTokenLifetimeSeconds
public void setRefreshTokenLifetimeSeconds(long refreshTokenLifetimeSeconds) -
getConsentType
-
setConsentType
-
getScopes
-
setScopes
ClientType毎に利用可能なscopeを限定する場合設定します。 未設定の場合は、OAuthAuthorizationDefinitionに定義されるすべてのscopeが利用可能です。- Parameters:
scopes
-
-
isSupportOpenIDConnect
public boolean isSupportOpenIDConnect() -
setSupportOpenIDConnect
public void setSupportOpenIDConnect(boolean supportOpenIDConnect)
-