Skip to content

Commit 7fea24a

Browse files
committed
docs: document service_config
1 parent ebfba11 commit 7fea24a

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

docs/oauth.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,12 @@ These are all the possible fields of a *settings.yaml* file:
7171
redirect_uri: {{str}}
7272
revoke_uri: {{str}}
7373
74+
service_config:
75+
client_user_email: {{str}}
76+
client_json_file_path: {{str}}
77+
client_json_dict: {{dict}}
78+
client_json: {{str}}
79+
7480
save_credentials: {{bool}}
7581
save_credentials_backend: {{str}}
7682
save_credentials_file: {{str}}
@@ -92,6 +98,11 @@ Fields explained:
9298
:client_config['token_uri'] (str): The token server endpoint URI. **Default**: 'https://accounts.google.com/o/oauth2/token'. **Required**: No.
9399
:client_config['redirect_uri'] (str): Redirection endpoint URI. **Default**: 'urn:ietf:wg:oauth:2.0:oob'. **Required**: No.
94100
:client_config['revoke_uri'] (str): Revoke endpoint URI. **Default**: None. **Required**: No.
101+
:service_config (dict): Place holding dictionary for client configuration when *client_config_backend* is 'settings' and using service account. **Required**: Yes, only if *client_config_backend* is 'settings' and not using *client_config*
102+
:service_config['client_user_email'] (str): Service account user email. **Required**: No.
103+
:service_config['client_json_file_path'] (str): Path to service account .json key file. **Required**: No.
104+
:service_config['client_json_dict'] (dict): Service account .json key file loaded into a dictionary. **Required**: No.
105+
:service_config['client_json'] (str): Service account .json key file loaded into a string. **Required**: No.
95106
:save_credentials (bool): True if you want to save credentials. **Default**: False. **Required**: No.
96107
:save_credentials_backend (str): Backend to save credentials to. 'file' and 'dictionary' are the only valid values for now. **Default**: 'file'. **Required**: No.
97108
:save_credentials_file (str): Destination of credentials file. **Required**: Yes, only if *save_credentials_backend* is 'file'.

0 commit comments

Comments
 (0)