Protocols
The following protocols are available globally.
-
A protocol that defines bearer authentication tokens, similar to
See moreModelAuthenticatable
.Declaration
Swift
public protocol CorvusModelAuthenticatable : CorvusModel, Authenticatable
-
A protocol that defines bearer authentication tokens, similar to
See moreModelTokenAuthenticatable
.Declaration
Swift
public protocol CorvusModelTokenAuthenticatable : CorvusModel, Authenticatable
-
A special
See moreRestEndpoint
used to provide a common interface for endpoints which provide access to the.auth()
modifier.Declaration
Swift
public protocol AuthEndpoint : RestEndpoint
-
A special
See moreAuthEndpoint
used to provide a common interface forCreate
components so they can access their own.auth
modifier.Declaration
Swift
public protocol CreateEndpoint : AuthEndpoint
-
A special
See moreAuthEndpoint
used to provide a common interface forUpdate
components so they can access their own.auth
modifier.Declaration
Swift
public protocol UpdateEndpoint : AuthEndpoint
-
A special
See moreAuthEndpoint
used to provide a common interface for endpoints which provide access to modifiers that are applcable for Database read requestsDeclaration
Swift
public protocol ReadEndpoint : AuthEndpoint
-
A protocol most Corvus components in a hierarchy conform to, so that they may be treated as the same type interchangeably.
See moreDeclaration
Swift
public protocol Endpoint
-
A protocol that wraps both
See moreModel
andContent
for convenience and is used to define all models that are used in database persistency and in network communication.Declaration
Swift
public protocol CorvusModel: Model, Content where IDValue: LosslessStringConvertible
-
See moreCorvusResponse
is a wrapper type for the result ofQueryEndpoint
s. Can be used to add metadata to a response.Declaration
Swift
public protocol CorvusResponse : Content