Skip to content

Commit 717e736

Browse files
Changing the function name and typo correction
1 parent 84f91d2 commit 717e736

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

auth0/authentication/get_token.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ def backchannel_login(
278278
},
279279
)
280280

281-
def federated_login(
281+
def federated_connection_access_token(
282282
self,
283283
subject_token_type: str,
284284
subject_token: str,
@@ -291,7 +291,7 @@ def federated_login(
291291
"""Calls /oauth/token endpoint with federated-connection-access-token grant type
292292
293293
Args:
294-
subject_token_type (str): String containing the typpe of token.
294+
subject_token_type (str): String containing the type of token.
295295
296296
subject_token (str): String containing the value of subject_token_type.
297297
@@ -303,9 +303,6 @@ def federated_login(
303303
304304
scope(str, optional): String value of the different scopes the client is asking for.
305305
Multiple scopes are separated with whitespace.
306-
307-
grant_type (str): Denotes the flow you're using. For Federated Connection Access token use
308-
urn:auth0:params:oauth:grant-type:token-exchange:federated-connection-access-token
309306
310307
311308
Returns:

0 commit comments

Comments
 (0)