IRemoteContext

Namespace: Bolero.Remoting.Server

The context to inject in a remote service to authorize remote functions.

Instance members

Instance memberDescription
x.Authorize(arg1)
Signature: (('req -> Async<'resp>)) -> 'req -> Async<'resp>
Modifiers: abstract
Type parameters: 'req, 'resp

Indicate that a remote function is only available to authenticated users.

x.AuthorizeWith arg1 arg2
Signature: seq<IAuthorizeData> -> (('req -> Async<'resp>)) -> 'req -> Async<'resp>
Modifiers: abstract
Type parameters: 'req, 'resp

Indicate that a remote function is available to users that match the given requirements.