Skip to content

Commit

Permalink
doc: fix get_issuer signature
Browse files Browse the repository at this point in the history
  • Loading branch information
azmeuk committed Feb 10, 2025
1 parent 7a817de commit da3a324
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions authlib/oauth2/rfc9207/parameter.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ def add_issuer_parameter(self, hook_type : str, response):
new_location = add_params_to_uri(response.location, {"iss": self.get_issuer()})
response.location += new_location

def get_issuer() -> Optional[str]:
def get_issuer(self) -> Optional[str]:
"""Return the issuer URL.
Developers MAY implement this method if they want to support :rfc:`RFC9207 <9207>`::

def get_issuer() -> str:
def get_issuer(self) -> str:
return "https://auth.example.org"
"""
return None

0 comments on commit da3a324

Please sign in to comment.