Expand description
types for Auth / session management
Re-exports§
pub use NewSessionResponse as CreateSessionSuccess;
Structs§
- Create
SessionO Auth Path - Create
Session Path - Delete
Session Path - GetO
Auth Path - GetO
Auth UrlResponse - Response for what URL to use for OAuth callback.
- Impersonate
Path - NewSession
Response - Response for successfully creating a session.
- OAuth
User Profile - User’s profile info fetched from the OAuth service. Returned as part of the identity claims
to be used as defaults for populating a
PutProfile
request. - Session
Token Query - Optional query used as the first option for authentication with the API
Enums§
- Create
SessionO Auth Request - Request for Creating a Session / signing in via oauth.
- Create
Session Response - Response for creating a session.
- GetO
Auth UrlService Kind - Which service to use for OAuth Url generation.
- OAuth
Provider - OAuth provider for emails
- OAuth
UrlKind - Which URL to use for OAuth callback.
Constants§
- AUTH_
COOKIE_ NAME - The name to use for auth cookies.
- AUTH_
QUERY_ NAME - The query key for
- CSRF_
HEADER_ NAME - The name of the CSRF header.