Package ca.cdr.api.model.json
Interface IOAuth2ClientDetails
- All Known Implementing Classes:
OAuth2ClientDetailsJson
public interface IOAuth2ClientDetails
-
Method Summary
Modifier and TypeMethodDescriptionAny scopes that will be automatically approved if the client requests them during authorization, without prompting the user.Any scopes that will be automatically granted to the client even if it does not request them.The client ID (used as a primary key, and as a parameter during auth exchange)The client's name (used only for display purposes, may be shown to end users)The module ID that this client is registered against.The node ID that this client is registered against.getPid()This PID (persistent ID) for this client.The client's public JWKSAllowable redirect URIs the client can specify as a part of an auth exchangegetScope()Scopes that the client is allowed to request?booleanWas this client created by AppSpherebooleanIs the client enabled?booleanAuthentication Required.
-
Method Details
-
getPid
This PID (persistent ID) for this client. This is the internal database ID for the client and is globally unique across the smile CDR cluster. -
getNodeId
The node ID that this client is registered against. -
getModuleId
The module ID that this client is registered against. -
getClientId
The client ID (used as a primary key, and as a parameter during auth exchange) -
getClientName
The client's name (used only for display purposes, may be shown to end users) -
getRegisteredRedirectUri
Allowable redirect URIs the client can specify as a part of an auth exchange -
getScope
Scopes that the client is allowed to request? Callers should not modify the returned collection. -
getAutoApproveScopes
Any scopes that will be automatically approved if the client requests them during authorization, without prompting the user. Callers should not modify the returned collection. -
getAutoGrantScopes
Any scopes that will be automatically granted to the client even if it does not request them. Callers should not modify the returned collection. -
isSecretRequired
boolean isSecretRequired()Authentication Required. Whentrue, the client must prove who it is on every token request, either by sending its client secret or by sending a client assertion signed with one of its keys (from its JWKS or JWKS URL). Whenfalse, the client can request tokens without credentials. -
isEnabled
boolean isEnabled()Is the client enabled? -
isCreatedByAppSphere
boolean isCreatedByAppSphere()Was this client created by AppSphere -
getPublicJwks
The client's public JWKS
-