mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-22 05:24:18 +02:00
Update bearer.py
Remove TODO
This commit is contained in:
parent
1c3ee67828
commit
cce1889fd9
1 changed files with 1 additions and 3 deletions
|
|
@ -159,7 +159,7 @@ class BearerAuthProvider(OAuthProvider):
|
|||
Note that this provider DOES NOT permit client registration or revocation, or any OAuth flows.
|
||||
It is intended to be used with a control plane that manages clients and tokens.
|
||||
"""
|
||||
#TODO: Add support for configurable algorithms 'e.g. algorithm= HS256, ES256, etc.'
|
||||
|
||||
def __init__(
|
||||
self,
|
||||
public_key: str | None = None,
|
||||
|
|
@ -210,8 +210,6 @@ class BearerAuthProvider(OAuthProvider):
|
|||
self.audience = audience
|
||||
self.public_key = public_key
|
||||
self.jwks_uri = jwks_uri
|
||||
|
||||
# TODO : Add support for configurable algorithms
|
||||
self.jwt = JsonWebToken([self.algorithm]) # Use RS256 by default
|
||||
self.logger = get_logger(__name__)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue