vibe.d beta banner
get vibe.d
0.10.0

Asynchronous I/O that doesn’t get in your way, written in D

Struct Role

Represents a required authorization role.

struct Role ;

Roles can be combined using logical or (| operator) or logical and (& operator). The role name is directly mapped to a method name of the authorization interface specified on the web interface class using the @requiresAuth attribute.

Constructors

NameDescription
this ()

Properties

NameTypeDescription
opDispatch[get] R!(Op.ident,name,void,void)

See Also

auth

Authors

Sönke Ludwig

Copyright

© 2016 RejectedSoftware e.K.

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.