Crate casdoor_sdk_rust

Source
Expand description

A Casdoor SDK (contain APIs) with more complete interfaces and better usability.

Modules§

utils

Structs§

AccountItem
ApiResponse
Application
ApplicationQueryArgs
AuthSdk
BatchEnforceArgs
BatchEnforceQueryArgs
BatchEnforceResult
CasbinRule
CasdoorExtraTokenFields
CasdoorResponse
Cert
ClaimsStandard
Config
Config is the core configuration.
EnforceArgs
EnforceQueryArgs
EnforceResult
Enforcer
FaceId
Filter
GetUserArgs
ManagedAccount
Method
The Request Method (VERB)
MfaAccount
MfaItem
MfaProps
ModelAddArgs
ModelDeleteArgs
ModelModifyArgs
ModelUpdateArgs
MultiFactorAuth
OAuth2Client
OIDCAddress
Organization
OrganizationQueryArgs
Permission
Provider
ProviderItem
QueryArgs
QueryResult
RegisteredClaims
Role
SamlItem
Sdk
SdkError
Session
SetPasswordArgs
SigninItem
SigninMethod
SignupItem
StatusCode
An HTTP status code (status-code in RFC 9110 et al.).
ThemeData
Url
A parsed URL record.
User
User info struct, defined in the SDK.
UserGroup
UserGroupQueryArgs
UserQueryArgs
Userinfo
WebauthnCredential

Enums§

BasicTokenType
Basic OAuth2 authorization token types.
Body
ModelAction
ModelActionAffect
QueryUserSet
The filter for query user.
SdkInnerError
Status
ValidationError

Constants§

NO_BODY

Traits§

Model
TokenIntrospectionResponse
Common methods shared by all OAuth2 token introspection implementations.
TokenResponse
Common methods shared by all OAuth2 token implementations.

Type Aliases§

BasicTokenIntrospectionResponse
Basic OAuth2 token introspection response.
CasbinRequest
CasdoorClient
CasdoorTokenResponse
SdkResult