moonbitstack/moonmcp/auth does not have a README file
pub(all) suberror Refused {
Refused(message~ : String)
}pub struct Bearer {
// private fields
}pub(all) struct Server {
issuer : String
authorization_endpoint : String?
token_endpoint : String
registration_endpoint : String?
scopes_supported : Array[String]?
response_types_supported : Array[String]
grant_types_supported : Array[String]
token_endpoint_auth_methods_supported : Array[String]
token_endpoint_auth_signing_alg_values_supported : Array[String]
code_challenge_methods_supported : Array[String]?
client_id_metadata_document_supported : Bool
} derive(Eq, Debug)fn authorization_code_form(code~ : String, redirect_uri~ : String, verifier~ : String, resource? : String, scope? : String) -> Array[(String, String)]fn authorize_url(server : Server, registration : Registration, redirect_uri : String, state : String, pkce : Pkce, scope? : String, resource? : String) -> String raise Refusedfn origin_of(url : String) -> Stringfn path_of(url : String) -> Stringfn percent_encode(text : StringView) -> Stringfn query_value(query : String, name : String) -> String?fn refresh_form(refresh_token~ : String, resource? : String, scope? : String) -> Array[(String, String)]fn same_origin(url : String, expected : String) -> Boolfn scope_within(asked : String?, granted : String?) -> Boolfn target_of(url : String) -> Stringfn trimmed_path_of(url : String) -> Stringfn widen_scope(current : String?, asked : String?) -> String?Install
Download zipModel Context Protocol servers and clients for MoonBit.