diff --git a/auth0/authentication/get_token.py b/auth0/authentication/get_token.py index 0126d311..cd0aed54 100644 --- a/auth0/authentication/get_token.py +++ b/auth0/authentication/get_token.py @@ -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, diff --git a/auth0/test/authentication/test_get_token.py b/auth0/test/authentication/test_get_token.py index 817660e7..a0268b13 100644 --- a/auth0/test/authentication/test_get_token.py +++ b/auth0/test/authentication/test_get_token.py @@ -337,10 +337,10 @@ def test_backchannel_login(self, mock_post): ) @mock.patch("auth0.rest.RestClient.post") - def test_federated_login(self, mock_post): + def test_connection_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",