Document scope option for the init method (#1508)
* Document scope option for the init method * Typo fix * Update securing_apps/topics/oidc/javascript-adapter.adoc Co-authored-by: Stian Thorgersen <stian@redhat.com>
This commit is contained in:
parent
34289dcd01
commit
341adb555a
1 changed files with 4 additions and 0 deletions
|
@ -435,6 +435,10 @@ Options is an Object, where:
|
|||
* token - Set an initial value for the token.
|
||||
* refreshToken - Set an initial value for the refresh token.
|
||||
* idToken - Set an initial value for the id token (only together with token or refreshToken).
|
||||
* scope - Set the default scope parameter to the {project_name} login endpoint. Use a space-delimited list of scopes. Those typically
|
||||
reference link:{adminguide_link}#_client_scopes[Client scopes] defined on a particular client. Note that the scope `openid` will
|
||||
always be added to the list of scopes by the adapter. For example, if you enter the scope options `address phone`, then the request
|
||||
to {project_name} will contain the scope parameter `scope=openid address phone`. Note that the default scope specified here is overwritten if the `login()` options specify scope explicitly.
|
||||
* timeSkew - Set an initial value for skew between local time and {project_name} server in seconds (only together with token or refreshToken).
|
||||
* checkLoginIframe - Set to enable/disable monitoring login state (default is `true`).
|
||||
* checkLoginIframeInterval - Set the interval to check login state (default is 5 seconds).
|
||||
|
|
Loading…
Reference in a new issue