Skip to content

Commit 77a525c

Browse files
author
Aidan Laing
committed
Read Me Spacing Fix
1 parent 8c25e39 commit 77a525c

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

README.md

+5-2
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,16 @@ val redirectUri = "<YOUR_REDIRECT_URI>"
5858
val client = MobileAuthenticationClient(context, baseUrl, realmName, authEndpoint, redirectUri, clientId)
5959
```
6060
The parameters needed for the client can all be found on your Red Hat Single Sign-On dashboard.
61+
6162
We recommened you use a custom application schema for your redirectUri such as <NAME_OF_YOUR_APP>://android
63+
6264
Please use the context of the activity in which you are going to call authenticate to create the client.
6365

6466
Please remember to call `client.clear()` in either `onPause()`, `onStop()` or `onDestroy()` in order to avoid memory leaks.
6567

6668
### Authenticate
6769
Authenticate will get a fresh token from Red Hat Single Sign-On after the user has entered their login credentials through a Chrome custom tab and store it locally.
70+
6871
The result of the authenticate call can be retrieved in the `onActivityResult()` where the client was created.
6972

7073
Calling authenticate:
@@ -169,13 +172,13 @@ Note that TokenNotFoundException in getToken will be replaced with NoSuchElement
169172

170173
## License
171174
```
172-
Copyright 2017 Province of British Columbia
175+
Copyright 2018 Province of British Columbia
173176
174177
Licensed under the Apache License, Version 2.0 (the "License");
175178
you may not use this file except in compliance with the License.
176179
You may obtain a copy of the License at
177180
178-
http://www.apache.org/licenses/LICENSE-2.0
181+
http://www.apache.org/licenses/LICENSE-2.0
179182
180183
Unless required by applicable law or agreed to in writing, software
181184
distributed under the License is distributed on an "AS IS" BASIS,

0 commit comments

Comments
 (0)