class Authly::Clients

Included Modules

Defined in:

authly/client.cr

Constructors

Instance Method Summary

Instance methods inherited from module Authly::AuthorizableClient

allowed_scopes?(client_id : String, scopes : String) : Bool allowed_scopes?, authorized?(client_id : String, client_secret : String) authorized?, valid_redirect?(client_id : String, redirect_uri : String) : Bool valid_redirect?

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def <<(client : Client) #

[View source]
def allowed_scopes?(client_id, scopes) : Bool #

[View source]
def authorized?(client_id, secret, redirect_uri, code, verifier : String | Nil = nil) #

[View source]
def authorized?(client_id, client_secret) #

[View source]
def each(& : Client -> _) #
Description copied from module Enumerable(Authly::Client)

Must yield this collection's elements to the block.


[View source]
def valid_redirect?(client_id, redirect_uri) : Bool #

[View source]