Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion auth0/authentication/get_token.py
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ def backchannel_login(
},
)

def federated_connection_access_token(
def access_token_for_connection(
self,
subject_token_type: str,
subject_token: str,
Expand Down
2 changes: 1 addition & 1 deletion auth0/test/authentication/test_get_token.py
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ def test_backchannel_login(self, mock_post):
def test_federated_login(self, mock_post):
g = GetToken("my.domain.com", "cid", client_secret="csec")

g.federated_connection_access_token(
g.access_token_for_connection(
grant_type="urn:auth0:params:oauth:grant-type:token-exchange:federated-connection-access-token",
subject_token_type="urn:ietf:params:oauth:token-type:refresh_token",
subject_token="refid",
Expand Down