Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddOryAccessControlPolicyRoleMembersBody ¶
type AddOryAccessControlPolicyRoleMembersBody struct { // The members to be added. Members []string `json:"members"` }
AddOryAccessControlPolicyRoleMembersBody add ory access control policy role members body
swagger:model addOryAccessControlPolicyRoleMembersBody
func (*AddOryAccessControlPolicyRoleMembersBody) MarshalBinary ¶
func (m *AddOryAccessControlPolicyRoleMembersBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddOryAccessControlPolicyRoleMembersBody) UnmarshalBinary ¶
func (m *AddOryAccessControlPolicyRoleMembersBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AuthorizationResult ¶
type AuthorizationResult struct { // Allowed is true if the request should be allowed and false otherwise. // Required: true Allowed *bool `json:"allowed"` }
AuthorizationResult AuthorizationResult is the result of an access control decision. It contains the decision outcome.
swagger:model authorizationResult
func (*AuthorizationResult) MarshalBinary ¶
func (m *AuthorizationResult) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AuthorizationResult) UnmarshalBinary ¶
func (m *AuthorizationResult) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HealthNotReadyStatus ¶
type HealthNotReadyStatus struct { // Errors contains a list of errors that caused the not ready status. Errors map[string]string `json:"errors,omitempty"` }
HealthNotReadyStatus health not ready status
swagger:model healthNotReadyStatus
func (*HealthNotReadyStatus) MarshalBinary ¶
func (m *HealthNotReadyStatus) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HealthNotReadyStatus) UnmarshalBinary ¶
func (m *HealthNotReadyStatus) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HealthStatus ¶
type HealthStatus struct { // Status always contains "ok". Status string `json:"status,omitempty"` }
HealthStatus health status
swagger:model healthStatus
func (*HealthStatus) MarshalBinary ¶
func (m *HealthStatus) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HealthStatus) UnmarshalBinary ¶
func (m *HealthStatus) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type OryAccessControlPolicy ¶
type OryAccessControlPolicy struct { // Actions is an array representing all the actions this ORY Access Policy applies to. Actions []string `json:"actions"` // Conditions represents a keyed object of conditions under which this ORY Access Policy is active. Conditions map[string]interface{} `json:"conditions,omitempty"` // Description is an optional, human-readable description. Description string `json:"description,omitempty"` // Effect is the effect of this ORY Access Policy. It can be "allow" or "deny". Effect string `json:"effect,omitempty"` // ID is the unique identifier of the ORY Access Policy. It is used to query, update, and remove the ORY Access Policy. ID string `json:"id,omitempty"` // Resources is an array representing all the resources this ORY Access Policy applies to. Resources []string `json:"resources"` // Subjects is an array representing all the subjects this ORY Access Policy applies to. Subjects []string `json:"subjects"` }
OryAccessControlPolicy oryAccessControlPolicy specifies an ORY Access Policy document.
swagger:model oryAccessControlPolicy
func (*OryAccessControlPolicy) MarshalBinary ¶
func (m *OryAccessControlPolicy) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*OryAccessControlPolicy) UnmarshalBinary ¶
func (m *OryAccessControlPolicy) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type OryAccessControlPolicyAllowedInput ¶
type OryAccessControlPolicyAllowedInput struct { // Action is the action that is requested on the resource. Action string `json:"action,omitempty"` // Context is the request's environmental context. Context map[string]interface{} `json:"context,omitempty"` // Resource is the resource that access is requested to. Resource string `json:"resource,omitempty"` // Subject is the subject that is requesting access. Subject string `json:"subject,omitempty"` }
OryAccessControlPolicyAllowedInput Input for checking if a request is allowed or not.
swagger:model oryAccessControlPolicyAllowedInput
func (*OryAccessControlPolicyAllowedInput) MarshalBinary ¶
func (m *OryAccessControlPolicyAllowedInput) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*OryAccessControlPolicyAllowedInput) UnmarshalBinary ¶
func (m *OryAccessControlPolicyAllowedInput) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type OryAccessControlPolicyRole ¶
type OryAccessControlPolicyRole struct { // ID is the role's unique id. ID string `json:"id,omitempty"` // Members is who belongs to the role. Members []string `json:"members"` }
OryAccessControlPolicyRole oryAccessControlPolicyRole represents a group of users that share the same role. A role could be an administrator, a moderator, a regular user or some other sort of role.
swagger:model oryAccessControlPolicyRole
func (*OryAccessControlPolicyRole) MarshalBinary ¶
func (m *OryAccessControlPolicyRole) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*OryAccessControlPolicyRole) UnmarshalBinary ¶
func (m *OryAccessControlPolicyRole) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Version ¶
type Version struct { // Version is the service's version. Version string `json:"version,omitempty"` }
Version version
swagger:model version
func (*Version) MarshalBinary ¶
MarshalBinary interface implementation
func (*Version) UnmarshalBinary ¶
UnmarshalBinary interface implementation