Skip to content

Commit

Permalink
oauth2 adjustments to radicale changes in the past
Browse files Browse the repository at this point in the history
  • Loading branch information
pbiering committed Feb 2, 2025
1 parent 7b61464 commit d2be086
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions radicale/auth/oauth2.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ def __init__(self, configuration):
raise RuntimeError("OAuth2 token endpoint URL is required")
logger.info("auth OAuth2 token endpoint: %s" % (self._endpoint))

def login(self, login, password):
def _login(self, login, password):
"""Validate credentials.
Sends login credentials to oauth auth endpoint and checks that a token is returned
Sends login credentials to oauth token endpoint and checks that a token is returned
"""
try:
# authenticate to authentication endpoint and return login if ok, else ""
Expand Down

0 comments on commit d2be086

Please sign in to comment.