Graphorin API reference v0.1.0
Graphorin API reference / @graphorin/security / auth
auth
Server token-auth surface for @graphorin/security. Combines the token format primitives, the scope grammar, the verify pipeline, and the token CRUD library functions used by @graphorin/server and the CLI.
References
authorize
Re-exports authorize
crc32
Re-exports crc32
CreatedToken
Re-exports CreatedToken
createToken
Re-exports createToken
CreateTokenOptions
Re-exports CreateTokenOptions
DEFAULT_TOKEN_PREFIX
Re-exports DEFAULT_TOKEN_PREFIX
encodeBase62Bytes
Re-exports encodeBase62Bytes
encodeBase62Integer
Re-exports encodeBase62Integer
generatePepper
Re-exports generatePepper
generateRawToken
Re-exports generateRawToken
GenerateRawTokenOptions
Re-exports GenerateRawTokenOptions
listTokens
Re-exports listTokens
ParsedScope
Re-exports ParsedScope
ParsedToken
Re-exports ParsedToken
parseScope
Re-exports parseScope
parseToken
Re-exports parseToken
ParseTokenOptions
Re-exports ParseTokenOptions
rekeyTokens
Re-exports rekeyTokens
revokeToken
Re-exports revokeToken
rotatePepper
Re-exports rotatePepper
rotateToken
Re-exports rotateToken
SCOPE_CATALOGUE
Re-exports SCOPE_CATALOGUE
scopeMatches
Re-exports scopeMatches
ScopeParseError
Re-exports ScopeParseError
scopeSetMatches
Re-exports scopeSetMatches
TOKEN_CHECKSUM_LENGTH
Re-exports TOKEN_CHECKSUM_LENGTH
TOKEN_ENTROPY_BYTES
Re-exports TOKEN_ENTROPY_BYTES
TOKEN_ENTROPY_LENGTH
Re-exports TOKEN_ENTROPY_LENGTH
TOKEN_ENVIRONMENTS
Re-exports TOKEN_ENVIRONMENTS
TOKEN_VERSION
Re-exports TOKEN_VERSION
TokenEnvironment
Re-exports TokenEnvironment
TokenFormatError
Re-exports TokenFormatError
TokenFormatErrorKind
Re-exports TokenFormatErrorKind
TokenLockedOutError
Re-exports TokenLockedOutError
TokenMetadata
Re-exports TokenMetadata
TokenVerifier
Re-exports TokenVerifier
TokenVerifierStatus
Re-exports TokenVerifierStatus
TokenVerifyOverloadError
Re-exports TokenVerifyOverloadError
tryParseScope
Re-exports tryParseScope
validateScopeSet
Re-exports validateScopeSet
VerifiedToken
Re-exports VerifiedToken
VerifierOptions
Re-exports VerifierOptions
VerifyContext
Re-exports VerifyContext
VerifyFailureReason
Re-exports VerifyFailureReason
verifyOffline
Re-exports verifyOffline
VerifyResult
Re-exports VerifyResult
verifyToken
Re-exports verifyToken
WeakPepperError
Re-exports WeakPepperError