From b08d2bb70ce7aa4fdfc577b45828232853a90753 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kasper=20Rynning-T=C3=B8nnesen?= Date: Thu, 30 Jun 2016 13:47:18 +0200 Subject: [PATCH] Update README.md --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index c61d9ee..3869fb2 100644 --- a/README.md +++ b/README.md @@ -6,19 +6,28 @@ To use this general OAuth2 client-class, include it with ``` $client_id is client id of the OAuth2 application + $client_secret is client secret of the OAuth2 application + $redirect_uri is the specified redirect-uri for the OAuth2 application + $auth is the full url for authorization + $token is the full token url + $user is the full identity url (example: https://auth.dataporten.no/userinfo) Optional - $authorization_type defaults to Bearer + $session specifies whether the state is to be saved in _SESSION storage, defaults to false + $verify is whether to verify SSL of host and peer, defaults to false + $grant_type defaults to 'authorization_code' + $response_type defaults to 'code'