v0.3.0-alpha.28 · World
http-authorizer
Authorization middleware for HTTP transport.
This world provides JWT-based authorization that can be composed with HTTP transport components to add authentication.
Imports
I
wasi:io/poll 0.2.7
IA poll API intended to let users wait for I/O events on multiple handles at once.
wasi:clocks/monotonic-clock 0.2.7
IWASI Monotonic Clock is a clock API intended to let users measure elapsed time.
wasi:io/error 0.2.7
Iwasi:io/streams 0.2.7
IWASI I/O is an I/O abstraction API which is currently focused on providing stream types.
wasi:http/types 0.2.7
IThis interface defines all of the types and methods for implementing HTTP Requests and Responses, both incoming and outgoing, as well as their headers, trailers, and bodies.
wasi:http/incoming-handler 0.2.7
IThis interface defines a handler of incoming HTTP Requests. It should be exported by components which can respond to HTTP Requests.
jwt
IJWT validation and authentication.
wasi:clocks/wall-clock 0.2.7
IWASI Wall Clock is a clock API intended to let users query the current time. The name "wall" makes an analogy to a "clock on the wall", which is not necessarily monotonic as it may be reset.
wasi:random/random 0.2.7
IWASI Random is a random data API.
wasi:cli/stdout 0.2.7
Iwasi:cli/stderr 0.2.7
Iwasi:cli/stdin 0.2.7
Iwasi:http/outgoing-handler 0.2.7
This interface defines a handler of outgoing HTTP Requests. It should be imported by components which wish to make HTTP Requests.