-
Notifications
You must be signed in to change notification settings - Fork 172
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue ref #269: OAuth 2.0 Credential Format for Delta Sharing Python … (
#309) * Issue ref #269: OAuth 2.0 Credential Format for Delta Sharing Python Client Pull Request Signed-off-by: Dima Alberg <[email protected]> * Issue ref #269: OAuth 2.0 Credential Format for Delta Sharing Python Client Pull Request Signed-off-by: Dima Alberg <[email protected]> * Issue ref #269: OAuth 2.0 Credential Format for Delta Sharing Python Client Pull Request Signed-off-by: Dima Alberg <[email protected]> * Issue ref #269: OAuth 2.0 Credential Format for Delta Sharing Python Client Pull Request Signed-off-by: Dima Alberg <[email protected]> * Issue ref #269: OAuth 2.0 Credential Format for Delta Sharing Python Client Pull Request Signed-off-by: Dima Alberg <[email protected]> * Issue ref #269: OAuth 2.0 Credential Format for Delta Sharing Python Client Pull Request Signed-off-by: Dima Alberg <[email protected]> --------- Signed-off-by: Dima Alberg <[email protected]>
- Loading branch information
Showing
7 changed files
with
428 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
############################################################################################### | ||
# | ||
# Copyright © 2023, 2023, Oracle and/or its affiliates. | ||
# Issue ref #269: OAuth 2.0 Credential Format for Delta Sharing Client | ||
# Code update: | ||
# - protocol.py | ||
# - rest_client.py | ||
# - test_protocol.py | ||
# - test_profile_bearer.json | ||
# - test_profile_oauth2.json | ||
# - test_profile_basic.json | ||
# | ||
############################################################################################### |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"shareCredentialsVersion": 2, | ||
"type": "basic", | ||
"endpoint": "https://localhost/delta-sharing/", | ||
"username": "username", | ||
"password": "password" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"shareCredentialsVersion": 2, | ||
"type": "bearer_token", | ||
"endpoint": "https://localhost:12345/delta-sharing/", | ||
"bearerToken": "dapi5e3574ec767ca1548ae5bbed1a2dc04d", | ||
"expirationTime": "2021-11-12T00:12:29.0Z" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"shareCredentialsVersion": 2, | ||
"type": "persistent_oauth2.0", | ||
"endpoint": "https://localhost/delta-sharing/", | ||
"tokenEndpoint": "tokenEndpoint", | ||
"clientId": "clientId", | ||
"clientSecret": "clientSecret" | ||
} |
Oops, something went wrong.