Expand description
A Casdoor SDK (contain APIs) with more complete interfaces and better usability.
Modules§
Structs§
- Access
Token - Access token returned by the token endpoint and used to access protected resources.
- Account
Item - ApiError
- Struct to represent error information
- ApiResponse
- Application
- Application
Query Args - AuthSdk
- Batch
Enforce Args - Batch
Enforce Query Args - Batch
Enforce Result - Casbin
Rule - Cert
- Claims
- Config
- Config is the core configuration.
- Enforce
Args - Enforce
Query Args - Enforce
Result - Enforcer
- ErrPath
- ErrPath
Parent - ErrPath
Root - ErrType
- FaceId
- Filter
- GetUser
Args - Managed
Account - Method
- The Request Method (VERB)
- MfaAccount
- MfaItem
- MfaProps
- Model
AddArgs - Model
Delete Args - Model
Modify Args - Model
Update Args - Multi
Factor Auth - Organization
- Organization
Query Args - Permission
- Provider
- Provider
Item - Query
Args - Query
Result - Refresh
Token - Refresh token used to obtain a new access token (if supported by the authorization server).
- Role
- Saml
Item - Scope
- Access token scope, as defined by the authorization server.
- Sdk
- SdkError
- Session
- SetPassword
Args - Signin
Item - Signin
Method - Signup
Item - Status
Code - An HTTP status code (
status-codein RFC 9110 et al.). - Theme
Data - Url
- A parsed URL record.
- User
- User info struct, defined in the SDK.
- User
Group - User
Group Query Args - User
Query Args - Userinfo
- Webauthn
Credential
Enums§
- Basic
Token Type - Basic OAuth2 authorization token types.
- Body
- Model
Action - Model
Action Affect - Query
User Set - The filter for query user.
- SdkInner
Error - Status
Constants§
Traits§
- Model
- Token
Response - Common methods shared by all OAuth2 token implementations.
- Token
Type - Trait for OAuth2 access tokens.
Functions§
- init_
error_ path - Initialize the suffix of the error code.