File tree Expand file tree Collapse file tree 1 file changed +19
-19
lines changed
Expand file tree Collapse file tree 1 file changed +19
-19
lines changed Original file line number Diff line number Diff line change @@ -16,25 +16,6 @@ factory methods in [planet_auth_utils.PlanetAuthFactory][]
1616A number of auth client implementations are provided. Clients should
1717select the one most appropriate for their use case.
1818
19- ### Planet Legacy Client
20- Implemented by [ planet_auth.PlanetLegacyAuthClient] [ ] and [ planet_auth.PlanetLegacyAuthClientConfig] [ ]
21-
22- Configuration:
23- ``` json linenums="1" title="~/.planet/_profile_name_/auth_client.json"
24- {% include 'auth-client-config/planet-legacy.json' % }
25- ```
26-
27- Profile Usage:
28- ``` python linenums="1"
29- {% include ' snippets/auth-client-context-from-saved-profile.py' % }
30- ```
31-
32-
33- Direct Usage:
34- ``` python linenums="1"
35- {% include ' snippets/auth-client-context-pl-legacy-direct.py' % }
36- ```
37-
3819### OAuth Clients
3920#### Auth Code with PKCE
4021Implemented by [ planet_auth.AuthCodeAuthClient] [ ] and [ planet_auth.AuthCodeClientConfig] [ ]
@@ -154,6 +135,25 @@ outbound calls, which is one of the primary aims of most auth client types.
154135Instead, this client configuration can only be used to validate incoming
155136tokens.
156137
138+ ### Planet Legacy Client
139+ Implemented by [ planet_auth.PlanetLegacyAuthClient] [ ] and [ planet_auth.PlanetLegacyAuthClientConfig] [ ]
140+
141+ Configuration:
142+ ``` json linenums="1" title="~/.planet/_profile_name_/auth_client.json"
143+ {% include 'auth-client-config/planet-legacy.json' % }
144+ ```
145+
146+ Profile Usage:
147+ ``` python linenums="1"
148+ {% include ' snippets/auth-client-context-from-saved-profile.py' % }
149+ ```
150+
151+
152+ Direct Usage:
153+ ``` python linenums="1"
154+ {% include ' snippets/auth-client-context-pl-legacy-direct.py' % }
155+ ```
156+
157157## Environment Variables
158158See [ planet_auth_utils.EnvironmentVariables] [ ] for a list of environment variables.
159159
You can’t perform that action at this time.
0 commit comments