struct PlaceOS::API::Models::Authority

Overview

Metadata about the PlaceOS instance connected to.

This provides information that may be of relevance for authentication or providing client-side configuration information.

Included Modules

Defined in:

placeos/api/models/authority.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def config : Hash(String, JSON::Any) #

Additional configuration / context for clients.


[View source]
def description : String | Nil #

Authority description (markdown).


[View source]
def domain : String #

[View source]
def id : String #

A universally unique identifier that represents the Authority.


[View source]
def login_url : String #

Path that clients should use for initiating authentication.


[View source]
def logout_url : String #

Path that clients should use for revoking authentication.


[View source]
def name : String #

Human readable name


[View source]
def production : Bool #

Flag for production status.


[View source]
def session : Bool #

Flag for if this client is currently authed.


[View source]