class

Authly::ClientCredentials

Inherits Authly::GrantStrategy < Reference < Object

Constructors

new(client_id : String, client_secret : String, scope : String = "")
Source

Instance methods

authorized?
Source
client_id
Source
client_secret
Source
granted_scope

The scope the strategy resolved itself (the refresh token grant); nil when the grant does not know it and Grant reads it from the authorization code.

Source
subject

Who the issued token is about, when the grant identifies someone it can trust: the client for the client credentials grant, the resource owner for grants that authenticated one. Nil leaves the token with an anonymous subject.

Source