class Cryap::Database::Models::Application

Defined in:

models/oauth2/application.cr

Constructors

Class Method Summary

Instance Method Summary

Instance methods inherited from class Cryap::Database::Model

node_id : Int64 node_id, node_labels : Array(String) node_labels, paginate!(pagination : Cryap::API::Paginator, result : Array(String | Symbol), forward : Array(String | Symbol), column : Symbol, property : Symbol | Nil = nil, &) : Tuple(String, String | Nil) paginate!

Constructor methods inherited from class Cryap::Database::Model

new(unpacker : Neo4j::PackStream::Unpacker)
new(node : Neo4j::Node)
new

Class methods inherited from class Cryap::Database::Model

from_bolt(unpacker : Neo4j::PackStream::Unpacker)
from_bolt(io : IO)
from_bolt
, model_name model_name, paginate!(pagination : Cryap::API::Paginator, result : Array(String | Symbol), forward : Array(String | Symbol), column : Symbol, property : Symbol | Nil = nil, &) : Tuple(String, String | Nil) paginate!

Macros inherited from class Cryap::Database::Model

model(name) model, query!(&block) query!

Constructor Detail

def self.create(id : KSUID, name : String, redirect_uri : String, website : String | Nil, scopes : Array(Cryap::API::OAuth2::Scope), _labels = ["Application"] of ::String) : Application #

def self.new(name : String, vapid_key, redirect_uri : String, id : String = KSUID.new, website : Nil | String = nil, client_id : String = nil, client_secret : String = nil, scopes : Array(Cryap::API::OAuth2::Scope) = [] of Cryap::API::OAuth2::Scope) #

def self.new(unpacker : Neo4j::PackStream::Unpacker) #

Class Method Detail

def self.by_client_id(client_id : String) #

def self.by_id(id : String) #

def self.from_bolt(unpacker : Neo4j::PackStream::Unpacker) #

Instance Method Detail

def client_id : String #

def client_secret : String #

def id : String #

def name : String #

def redirect_uri : String #

def scopes : Array(Cryap::API::OAuth2::Scope) #

def website : String | Nil #