Skip to main content

DevOnlyAttribute

A class in Root.Township, Alta.Console.

Console requirement: the command (or settings property) is only for users whose identity token has the developer role.

Constructors​

MemberWhat it is
DevOnlyAttribute()Creates a DevOnlyAttribute with default values.

Methods​

MemberWhat it is
override bool Check()True if the signed-in user's identity token says they are a developer.
override string ToString()Returns "Dev Only".