Skip to main content

Module auth

Module auth 

Source
Expand description

Authorization logic for objectstore.

Structs§

AuthAwareService
Wrapper around [StorageService] that ensures each operation is authorized.
PresignParams
The pre-signing query parameters.
PublicKey
A single version of a public key, usable for both JWT verification (via [DecodingKey]) and pre-signed URL verification (via [VerifyingKey]).
PublicKeyConfig
Configures the EdDSA public key(s) and permissions used to verify tokens from a single kid.
PublicKeyDirectory
Directory of keys that may be used to verify a request’s auth token.
ScopedContext
The verified authorization details obtained from a JWT.

Enums§

AuthContext
AuthContext encapsulates the verified authorization details of a request.
AuthError
Error type for different authorization failure scenarios.

Type Aliases§

KeyId
Identifier for a public key.