mirror of
https://github.com/outline/outline.git
synced 2026-12-05 10:45:07 +03:00
docs
This commit is contained in:
1 parent
e76dcc0baf
commit
b08a430131
1 file changed
+3
-6
@@ -14,14 +14,11 @@ import {
|
||||
} from "../errors";
|
||||
|
||||
type AuthenticationOptions = {
|
||||
/** An admin user role is required to access the route */
|
||||
/** An admin user role is required to access the route. */
|
||||
admin?: boolean;
|
||||
/** A member or admin user role is required to access the route */
|
||||
/** A member or admin user role is required to access the route. */
|
||||
member?: boolean;
|
||||
/**
|
||||
* Authentication is parsed, but optional. Note that if a token is provided
|
||||
* in the request it must be valid or the requst will be rejected.
|
||||
*/
|
||||
/** Authentication is parsed, but optional. */
|
||||
optional?: boolean;
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user