public interface OAuth2ClientRegistrationService
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
VERSION |
Modifier and Type | Method and Description |
---|---|
ClipboardPage |
computeClientSecretHash(ClipboardPage clientInfoPage)
computes Client Secrets hash.
|
ClipboardPage |
regenerateClientSecret(PublicAPI aTools,
ClipboardPage clientInfoPage)
Regenerates Client Secrets .
|
java.lang.String |
registerClient(PRThread thread,
java.lang.String clientinfo)
Generates and registers a client from the given input clientinfo which is in json format
The input clientinfo should contain values for the below properties :
client_name - Name of the client
client_description -Client description
urn:ietf:params:oauth:grant-type:saml2-bearer - Saml bearer grant type
client_credentials
grant_types - Supported grant types
identity_mapping_name - Mapping name for saml bearer grant type
This method generates CLIENT_ID and CLIENT_SECRET and
populates the response string with the generated details and returns back
|
ClipboardPage |
registerClient(PublicAPI aTools,
ClipboardPage clientInfoPage)
Generates and registers a client from the given input ClipboardPage of
"Data-Admin-Security-OAuth-Producer-Client" The input ClipboardPage
should contain values for the below properties : pyClientName - Name of
the client This method generates CLIENT_ID and CLIENT_SECRET and
populates the clipboard page with the generated details and returns back
the clipboard page that represents a registered third party client.
|
java.lang.String |
registerMobileClient(PRThread thread,
java.lang.String clientinfo)
Generates and registers a client from the given input clientinfo which is in json format
The input clientinfo should contain values for the below properties :
client_name - Name of the client
client_description -Client description
urn:ietf:params:oauth:grant-type:saml2-bearer - Saml bearer grant type
client_credentials
grant_types - Supported grant types
identity_mapping_name - Mapping name for saml bearer grant type
This method generates CLIENT_ID and CLIENT_SECRET and
populates the response string with the generated details and returns back
|
ClipboardPage registerClient(PublicAPI aTools, ClipboardPage clientInfoPage)
aTools
- an object of public apiclientInfoPage
- a ClipboardPage of "Data-Admin-Security-OAuth-Producer-Client"
class typeClipboardPage regenerateClientSecret(PublicAPI aTools, ClipboardPage clientInfoPage)
aTools
- an object of public apiclientInfoPage
- a ClipboardPage of "Data-Admin-Security-OAuth-Producer-Client"
class typeClipboardPage computeClientSecretHash(ClipboardPage clientInfoPage)
clientInfoPage
- a ClipboardPage of "Data-Admin-Security-OAuth-Producer-Client"
class typejava.lang.String registerClient(PRThread thread, java.lang.String clientinfo)
thread
- current context threadclientinfo
- Json string with client name, grant typesjava.lang.String registerMobileClient(PRThread thread, java.lang.String clientinfo)
thread
- current context threadclientinfo
- Json string with client name, grant typesCopyright © 2018 Pegasystems Inc. All Rights Reserved.