+
    ÆÚjT/  ã                   ó.  € ^ RI HtHtHt ^ RIHtHtHtHtH	t	H
t
Ht Rt]R,          tRR.tR R lt ! R R	]4      t ! R
 R]4      t ! R R]4      t ! R R]4      t ! R R]4      t ! R R]4      t ! R R]4      t ! R R]4      t ! R R]4      tR# )é    )ÚAnyÚLiteralÚcast)Ú
AnyHttpUrlÚAnyUrlÚ	BaseModelÚ
ConfigDictÚFieldÚfield_validatorÚmodel_validatorú+urn:ietf:params:oauth:grant-type:jwt-bearerÚauthorization_codeÚrefresh_tokenc                ó0   € V ^8„  d   QhR\         R\         /# ©é   ÚvÚreturn©Úobject)Úformats   "Ú†/opt/data/installs/351f81cc06284494/environments/aa258815729c481f8402f54f4c368f83/venv/lib/python3.14/site-packages/mcp/shared/auth.pyÚ__annotate__r      s   € ÷ ñ œ&ð ¤Vñ ó    c                 ó   € V R 8X  d   R# V # )Ú N© )r   s   &r   Ú_empty_str_to_noner      s   € ð 	ˆB„wÙØ€Hr   c                   óv   a € ] tR t^t o RtRtRtRtRt]	! RRR7      ]
V 3R lR l4       4       tV 3R	 ltR
tV tR# )Ú
OAuthTokenz=See https://datatracker.ietf.org/doc/html/rfc6749#section-5.1ÚBearerNÚ
token_typeÚbefore©Úmodec                óB   <€ V ^8„  d   QhRS[ R,          RS[ R,          /# )r   r   Nr   ©Ústr)r   Ú__classdict__s   "€r   r   ÚOAuthToken.__annotate__%   s#   ø€ ÷ ñ ¡S¨4¥Zð ±C¸$µJñ r   c                óR   € \        V\        4      '       d   VP                  4       # V# ©N)Ú
isinstancer(   Útitle©Úclsr   s   &&r   Únormalize_token_typeÚOAuthToken.normalize_token_type#   s$   € ô �aœ×Òð —7‘7“9ÐØˆr   c                óŽ   <€ V ^8„  d   Qh/ S[ ;R&   S[R,          ;R&   S[R,          ;R&   S[ R,          ;R&   S[ R,          ;R&   # )r   Úaccess_tokenr!   r"   NÚ
expires_inÚscoper   )r(   r   Úint)r   r)   s   "€r   r   r*      sW   ø‡ ‚ ñ Ññ ñ ˜Õ!Ñ,ñ	 ñ
 �d•
Ñ!ñ ñ ��:Ññ ñ ˜•:Ñ$ò r   r   )Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__r"   r5   r6   r   r   Úclassmethodr1   Ú__annotate_func__Ú__static_attributes__Ú__classdictcell__©r)   s   @r   r    r       sF   ø‡ € ÙGð %-€JØ!€JØ€EØ $€Má�\¨Ô1Ø÷ó ó 2ð÷ ƒ r   r    c                   ó8   a € ] tR t^-t o RtRtRtV 3R ltRtV t	R# )ÚAuthorizationCodeResultz÷Authorization-code-grant redirect parameters returned by a callback handler.

`iss` carries the RFC 9207 authorization-response issuer when the authorization server
includes it in the redirect; the client validates it against the expected issuer.
Nc                óZ   <€ V ^8„  d   Qh/ S[ ;R&   S[ R,          ;R&   S[ R,          ;R&   # )r   ÚcodeNÚstateÚissr'   )r   r)   s   "€r   r   Ú$AuthorizationCodeResult.__annotate__-   s3   ø‡ ‚ ñ �Iñ ñ ��:Ññ ñ 
ˆt�Ñò r   r   )
r8   r9   r:   r;   r<   rF   rG   r>   r?   r@   rA   s   @r   rC   rC   -   s   ø‡ € ñð €EØ€C÷ ƒ r   rC   c                   ó2   a € ] tR t^9t o V 3R lR ltRtV tR# )ÚInvalidScopeErrorc                ó    <€ V ^8„  d   QhRS[ /# ©r   Úmessager'   )r   r)   s   "€r   r   ÚInvalidScopeError.__annotate__:   ó   ø€ ÷ ñ ¡ñ r   c                ó   € Wn         R # r,   ©rM   ©ÚselfrM   s   &&r   Ú__init__ÚInvalidScopeError.__init__:   ó   € ØŽr   rQ   N©r8   r9   r:   r;   rT   r?   r@   rA   s   @r   rJ   rJ   9   ó   ø‡ € ÷ö r   rJ   c                   ó2   a € ] tR t^>t o V 3R lR ltRtV tR# )ÚInvalidRedirectUriErrorc                ó    <€ V ^8„  d   QhRS[ /# rL   r'   )r   r)   s   "€r   r   Ú$InvalidRedirectUriError.__annotate__?   rO   r   c                ó   € Wn         R # r,   rQ   rR   s   &&r   rT   Ú InvalidRedirectUriError.__init__?   rV   r   rQ   NrW   rA   s   @r   rZ   rZ   >   rX   r   rZ   c            	       ó²   a € ] tR t^Ct o Rt]! RR7      tR.tRtRt	Rt
RtRtRtRtRtRtRtRt]! RRRR	R
RR7      ]V 3R lR l4       4       tV 3R ltRtV tR# )ÚOAuthClientMetadataBaseaº  RFC 7591 OAuth 2.0 Dynamic Client Registration metadata shared verbatim by the
registration request (`OAuthClientMetadata`) and the authorization server's record of a
registered client (`OAuthClientInformationFull`). Fields whose acceptable values differ
between the two - what this SDK sends versus what a third-party server may echo - are
declared on each model rather than here.
See https://datatracker.ietf.org/doc/html/rfc7591#section-2
T©Úurl_preserve_empty_pathrE   NÚ
client_uriÚlogo_uriÚtos_uriÚ
policy_uriÚjwks_urir#   r$   c                ó&   <€ V ^8„  d   QhRS[ RS[ /# r   r   )r   r)   s   "€r   r   Ú$OAuthClientMetadataBase.__annotate__i   s   ø€ ÷ %ñ %±6ð %¹fñ %r   c                ó   € \        V4      # r,   )r   r/   s   &&r   Ú"_empty_string_optional_url_to_noneÚ:OAuthClientMetadataBase._empty_string_optional_url_to_none`   s   € ô " !Ó$Ð$r   c                ód  <€ V ^8„  d   Qh/ S[ S[,          ;R&   S[R,          ;R&   S[R,          ;R&   S[R,          ;R&   S[R,          ;R&   S[ S[,          R,          ;R&   S[R,          ;R&   S[R,          ;R	&   S[R,          ;R
&   S[R,          ;R&   S[R,          ;R&   S[R,          ;R&   # )r   Úresponse_typesNr6   Úclient_namerc   rd   Úcontactsre   rf   rg   ÚjwksÚsoftware_idÚsoftware_version)Úlistr(   r   r   )r   r)   s   "€r   r   ri   C   sÛ   ø‡ ‚ ñ ™•IÑ(ñ ñ ��:Ññ ñ$ �t•Ñ"ñ% ñ& ˜TÕ!Ñ(ñ' ñ( ˜4ÕÑ&ñ) ñ* ‘3�i˜$ÕÑ%ñ+ ñ, ˜$ÕÑ%ñ- ñ. ˜TÕ!Ñ(ñ/ ñ0 ˜4ÕÑ&ñ1 ñ2 ��*Ññ3 ñ4 �t•Ñ"ñ5 ñ6 ˜D•jÑ'ò7 r   r   )r8   r9   r:   r;   r<   r	   Úmodel_configrn   r6   ro   rc   rd   rp   re   rf   rg   rq   rr   rs   r   r=   rk   r>   r?   r@   rA   s   @r   r`   r`   C   s”   ø‡ € ññ °dÔ;€Lð "( €NØ€Eð #€KØ$(€JØ"&€HØ!%€HØ!%€GØ$(€JØ"&€HØ€DØ"€KØ#'ÐáØØØØØØôð ÷%ó óð%÷M ƒ r   r`   c                   ó\   a € ] tR t^ot o Rt]! R^R7      tRt]! ]	4      t
RtV 3R ltRtV tR# )ÚOAuthClientMetadataa=  RFC 7591 OAuth 2.0 Dynamic Client Registration request metadata: what an MCP
client sends when it registers. Field values are narrowed to what this SDK will put
on the wire; parsing the authorization server's response is `OAuthClientInformationFull`'s
job. See https://datatracker.ietf.org/doc/html/rfc7591#section-2
.©Ú
min_lengthNÚnativec                ó²   <€ V ^8„  d   Qh/ S[ S[,          R,          ;R&   S[R,          ;R&   S[ S[R,          S[,          ,          ;R&   S[R,          ;R&   # )r   NÚredirect_urisÚtoken_endpoint_auth_methodÚgrant_typesÚapplication_type)r   r   r   )Úwebrz   )rt   r   ÚTokenEndpointAuthMethodr   r(   )r   r)   s   "€r   r   Ú OAuthClientMetadata.__annotate__o   sb   ø‡ ‚ ñ ™•< $Õ&ÑAñ ñ !8¸$Õ >ÑEñ ñ ÙÐdÕeÑhkÕkõñ "ñ ñ  ˜oÕ.Ñ9ò! r   r   )r8   r9   r:   r;   r<   r
   r|   r}   rt   ÚDEFAULT_GRANT_TYPESr~   r   r>   r?   r@   rA   s   @r   rw   rw   o   s=   ø‡ € ññ */¨s¸qÔ)A€MàAEÐñ 	Ð Ó!ð ð
 2:Ð÷! ƒ r   rw   c                   ó´   a € ] tR t^‚t o RtRtRt]! ]4      t	Rt
RtRtRtRt]! RR7      ]V 3R lR l4       4       tV 3R lR ltV 3R	 lR
 ltV 3R ltRtV tR# )ÚOAuthClientInformationFullaÐ  RFC 7591 OAuth 2.0 Dynamic Client Registration client information response
(client information plus metadata) - the authorization server's record of a
registered client. See https://datatracker.ietf.org/doc/html/rfc7591#section-3.2.1

A third-party authorization server "MAY reject or replace any of the client's
requested metadata values submitted during the registration and substitute them with
suitable values", so `application_type`, `token_endpoint_auth_method`, and `grant_types`
are typed to accept any string the server echoes, and `redirect_uris` may be absent or
empty. A member the server serializes as a placeholder - an explicit `null`, or `""` -
is read as an omitted key, so the field's default applies rather than the parse failing.
Whether a substituted value is usable is decided where the value is used, not at parse.
`redirect_uris` elements are still parsed as URLs, as the authorization server compares
them against a client's requested `redirect_uri`.
Nr#   r$   c                ó&   <€ V ^8„  d   QhRS[ RS[ /# )r   Údatar   r   )r   r)   s   "€r   r   Ú'OAuthClientInformationFull.__annotate__§   s   ø€ ÷ ñ ¹ð Á6ñ r   c                óæ   € \        V\        4      '       dU   \        \        \        \        3,          V4      pVP                  4        UUu/ uF  w  r4Vf   K  VR8w  g   K  W4bK  	  upp# V# u uppi )Nr   )r-   Údictr   r(   r   Úitems)r0   r‡   ÚmembersÚkeyÚvalues   &&   r   Ú$_placeholder_members_read_as_omittedÚ?OAuthClientInformationFull._placeholder_members_read_as_omitted¥   s^   € ô �dœD×!Ò!Üœ4¤¤S �>¨4Ó0ˆGØ18·±´Ôf±¡: 3ÀE”JÐZ_ÐceÑZe”J�C’J±ÒfÐfØˆùó gs   ÁA-ÁA-Á!A-c                óR   <€ V ^8„  d   QhRS[ R,          RS[S[ ,          R,          /# )r   Úrequested_scopeNr   )r(   rt   )r   r)   s   "€r   r   rˆ   ±   s(   ø€ ÷  ñ  ©c°D­jð  ¹TÁ#½YÈÕ=Mñ  r   c                óÄ   € Vf   R # VP                  R4      pV P                  f   . MV P                  P                  R4      pV F  pWC9  g   K  \        RV 24      h	  V# )NÚ z%Client was not registered with scope )Úsplitr6   rJ   )rS   r’   Úrequested_scopesÚallowed_scopesr6   s   &&   r   Úvalidate_scopeÚ)OAuthClientInformationFull.validate_scope±   sg   € ØÒ"ÙØ*×0Ñ0°Ó5ÐØ#Ÿz™zÒ1™°t·z±z×7GÑ7GÈÓ7LˆÛ%ˆEØÖ*Ü'Ð*OÐPUÈwÐ(WÓXÐXñ &ð  Ðr   c                ó4   <€ V ^8„  d   QhRS[ R,          RS[ /# )r   Úredirect_uriNr   )r   )r   r)   s   "€r   r   rˆ   »   s   ø€ ÷ ñ ±&¸4µ-ð ÁFñ r   c                ó  € Ve4   V P                   '       d   WP                   9  d   \        RV R24      hV# V P                   '       d.   \        V P                   4      ^8X  d   V P                   ^ ,          # \        R4      h)NzRedirect URI 'z' not registered for clientzOredirect_uri must be specified unless the client has exactly one registered URI)r|   rZ   Úlen)rS   r›   s   &&r   Úvalidate_redirect_uriÚ0OAuthClientInformationFull.validate_redirect_uri»   sy   € ØÒ#à×%×%Ð%¨×=OÑ=OÔ)OÜ-°¸|¸nÐLgÐ.hÓiÐiØÐØ××Ð¤C¨×(:Ñ(:Ó$;¸qÔ$@Ø×%Ñ% aÕ(Ð(ä)Øaóð r   c                ó  <€ V ^8„  d   Qh/ S[ S[,          R,          ;R&   S[R,          ;R&   S[ S[,          ;R&   S[R,          ;R&   S[;R&   S[R,          ;R&   S[R,          ;R&   S[R,          ;R	&   S[R,          ;R
&   # )r   Nr|   r}   r~   r   Ú	client_idÚclient_secretÚclient_id_issued_atÚclient_secret_expires_atÚissuer)rt   r   r(   r7   )r   r)   s   "€r   r   rˆ   ‚   s    ø‡ ‚ ñ  ™•< $Õ&Ñ-ñ! ñ& !$ d¥
Ñ1ñ' ñ( ‘c•Ñ6ñ) ñ. ˜D•jÑ'ñ/ ñ6 �Nñ7 ñ8 ˜•:Ñ$ñ9 ñ: ˜t�Ñ*ñ; ñ< " D�jÑ/ñ= ñB �$�JÑòC r   r   )r8   r9   r:   r;   r<   r|   r}   rt   rƒ   r~   r   r¢   r£   r¤   r¥   r   r=   r�   r˜   rž   r>   r?   r@   rA   s   @r   r…   r…   ‚   s�   ø‡ € ñð *.€Mð .2ÐÙ!Ð"5Ó6€Kð $(Ðð
 !%€MØ&*ÐØ+/Ðð €Fá˜(Ô#Ø÷ó ó $ð÷ ð  ÷ð ÷s ƒ r   r…   c                   ó˜   a € ] tR t^Ét o Rt]! RR7      tRtRtR.t	Rt
RtRtRtRtRtRtRtRtRtRtRtRtRtRtRtRtRtV 3R ltRtV tR# )ÚOAuthMetadataznRFC 8414 OAuth 2.0 Authorization Server Metadata.
See https://datatracker.ietf.org/doc/html/rfc8414#section-2
Tra   NrE   c                ó"  <€ V ^8„  d   Qh/ S[ ;R&   S[ ;R&   S[ ;R&   S[ R,          ;R&   S[S[,          R,          ;R&   S[S[,          ;R&   S[S[,          R,          ;R&   S[S[,          R,          ;R	&   S[S[,          R,          ;R
&   S[S[,          R,          ;R&   S[ R,          ;R&   S[S[,          R,          ;R&   S[ R,          ;R&   S[ R,          ;R&   S[ R,          ;R&   S[S[,          R,          ;R&   S[S[,          R,          ;R&   S[ R,          ;R&   S[S[,          R,          ;R&   S[S[,          R,          ;R&   S[S[,          R,          ;R&   S[R,          ;R&   S[R,          ;R&   S[S[,          R,          ;R&   # )r   r¥   Úauthorization_endpointÚtoken_endpointNÚregistration_endpointÚscopes_supportedÚresponse_types_supportedÚresponse_modes_supportedÚgrant_types_supportedÚ%token_endpoint_auth_methods_supportedÚ0token_endpoint_auth_signing_alg_values_supportedÚservice_documentationÚui_locales_supportedÚop_policy_uriÚ
op_tos_uriÚrevocation_endpointÚ*revocation_endpoint_auth_methods_supportedÚ5revocation_endpoint_auth_signing_alg_values_supportedÚintrospection_endpointÚ-introspection_endpoint_auth_methods_supportedÚ8introspection_endpoint_auth_signing_alg_values_supportedÚ code_challenge_methods_supportedÚ%client_id_metadata_document_supportedÚ.authorization_response_iss_parameter_supportedÚ&authorization_grant_profiles_supported©r   rt   r(   Úbool)r   r)   s   "€r   r   ÚOAuthMetadata.__annotate__É   s×  ø‡ ‚ ñ Ññ ñ 'Ñ&ñ ñ Ññ ñ &¨Õ,Ñ3ñ ñ ™3•i $Õ&Ñ-ñ ñ #¡3�iÑ2ñ ñ #¡3�i¨$Õ.Ñ5ñ ñ  ¡�9 tÕ+Ñ2ñ ñ ,0±­9°tÕ+;ÑBñ ñ  7;¹3µiÀ$Õ6FÑMñ! ñ" &¨Õ,Ñ3ñ# ñ$ ™s�) dÕ*Ñ1ñ% ñ&  Õ$Ñ+ñ' ñ( ˜TÕ!Ñ(ñ) ñ* $ dÕ*Ñ1ñ+ ñ, 15±Sµ	¸DÕ0@ÑGñ- ñ. <@Á½9ÀtÕ;KÑRñ/ ñ0 '¨Õ-Ñ4ñ1 ñ2 48¹µ9¸tÕ3CÑJñ3 ñ4 ?CÁ3½iÈ$Õ>NÑUñ5 ñ6 '+©3¥i°$Õ&6Ñ=ñ7 ñ8 ,0°$­;Ñ=ñ9 ñ: 59¸4µKÑFñ; ñ@ -1±­I¸Õ,<ÑCòA r   r   )r8   r9   r:   r;   r<   r	   ru   r«   r¬   r­   r®   r¯   r°   r±   r²   r³   r´   rµ   r¶   r·   r¸   r¹   rº   r»   r¼   r½   r¾   r¿   r>   r?   r@   rA   s   @r   r§   r§   É   s¢   ø‡ € ññ °dÔ;€Lð
 04ÐØ)-ÐØ+1¨(ÐØ15ÐØ.2ÐØ>BÐ)ØIMÐ4Ø/3ÐØ-1ÐØ'+€MØ$(€JØ-1ÐØCGÐ.ØNRÐ9Ø04ÐØFJÐ1ØQUÐ<Ø9=Ð$Ø9=Ð)ØBFÐ2ð @DÐ*÷A ƒ r   r§   c                   ó–   a € ] tR t^ìt o Rt]! RR7      t]! R^R7      tRt	Rt
]! R.R7      tRtRtRtRtRtRtRtRtRtV 3R	 ltR
tV tR# )ÚProtectedResourceMetadatazlRFC 9728 OAuth 2.0 Protected Resource Metadata.
See https://datatracker.ietf.org/doc/html/rfc9728#section-2
Tra   .rx   NÚheader)Údefaultc                óÊ  <€ V ^8„  d   Qh/ S[ ;R&   S[S[ ,          ;R&   S[ R,          ;R&   S[S[,          R,          ;R&   S[S[,          R,          ;R&   S[S[,          R,          ;R&   S[R,          ;R&   S[ R,          ;R	&   S[ R,          ;R
&   S[ R,          ;R&   S[R,          ;R&   S[S[,          R,          ;R&   S[S[,          R,          ;R&   S[R,          ;R&   # )r   ÚresourceÚauthorization_serversNrg   r¬   Úbearer_methods_supportedÚ%resource_signing_alg_values_supportedÚresource_nameÚresource_documentationÚresource_policy_uriÚresource_tos_uriÚ*tls_client_certificate_bound_access_tokensÚ%authorization_details_types_supportedÚ!dpop_signing_alg_values_supportedÚ!dpop_bound_access_tokens_requiredrÀ   )r   r)   s   "€r   r   Ú&ProtectedResourceMetadata.__annotate__ì   s  ø‡ ‚ ñ Ññ ñ  ¡
Õ+ÑFñ ñ ˜4ÕÑ&ñ ñ ™3•i $Õ&Ñ-ñ ñ #¡3�i¨$Õ.ÑJñ ñ ,0±­9°tÕ+;ÑBñ ñ ˜•:Ñ$ñ ñ '¨Õ-Ñ4ñ ñ $ dÕ*Ñ1ñ ñ  ! 4Õ'Ñ.ñ! ñ$ 15°tµÑBñ% ñ& ,0±­9°tÕ+;ÑBñ' ñ( (,©C¥y°4Õ'7Ñ>ñ) ñ, (,¨d¥{Ñ9ò- r   r   )r8   r9   r:   r;   r<   r	   ru   r
   rÉ   rg   r¬   rÊ   rË   rÌ   rÍ   rÎ   rÏ   rÐ   rÑ   rÒ   rÓ   r>   r?   r@   rA   s   @r   rÄ   rÄ   ì   sy   ø‡ € ññ °dÔ;€Lñ /4°CÀAÔ.FÐØ"&€HØ)-ÐÙ16À¸zÔ1JÐØ>BÐ)Ø $€MØ04ÐØ-1ÐØ*.Ðà>BÐ.Ø>BÐ)Ø:>Ð%à59Ð%÷- ƒ r   rÄ   N)ÚnoneÚclient_secret_postÚclient_secret_basicÚprivate_key_jwt)Útypingr   r   r   Úpydanticr   r   r   r	   r
   r   r   ÚJWT_BEARER_GRANT_TYPEr�   rƒ   r   r    rC   Ú	ExceptionrJ   rZ   r`   rw   r…   r§   rÄ   r   r   r   Ú<module>rÝ      s²   ðß %Ñ %ç g× gÑ gð FÐ ð
 "Ð"hÕiÐ ð ,¨_Ð=Ð õô�ô ô&	˜iô 	ô˜	ô ô
˜iô ô
)%˜iô )%ôX:Ð1ô :ô&DÐ!8ô DôN D�Iô  DôF: 	ö :r   