class

OAuth2::Provider::Client

Inherits Ktistec::Model::Common < Ktistec::Model < Reference < Object

Instance methods

_append_to_access_tokens(model_ : AccessToken) : Nil
Source
_association_access_tokens
Source
_has_many_setter_for_access_tokens(access_tokens_ : Enumerable(AccessToken), update_associations = true) : Enumerable(AccessToken)
Source
access_tokens(include_deleted : Bool = false, include_undone : Bool = false) : Enumerable(AccessToken)
Source
access_tokens=(access_tokens_ : Enumerable(AccessToken)) : Enumerable(AccessToken)
Source
after_validate
Source
before_destroy
Source
client_id

Public identifier for a third-party application.

When an application wants to request access to a user's account, it sends this ID to identify itself. It is not a secret.

Source
client_id=(client_id : String)

Public identifier for a third-party application.

When an application wants to request access to a user's account, it sends this ID to identify itself. It is not a secret.

Source
client_name

A human-readable name for the application.

The name is shown to the user on the consent screen so they know which application is asking for permission.

Source
client_name=(client_name : String)

A human-readable name for the application.

The name is shown to the user on the consent screen so they know which application is asking for permission.

Source
client_secret

Client secret.

This is a confidential secret known only to the application and the Ktistec server. It's used clients to authenticate themselves when they exchange an authorization code for an access token. This proves that the request is coming from the legitimate application.

Source
client_secret=(client_secret : String)

Client secret.

This is a confidential secret known only to the application and the Ktistec server. It's used clients to authenticate themselves when they exchange an authorization code for an access token. This proves that the request is coming from the legitimate application.

Source
last_accessed_at

Last accessed timestamp.

Records when this client last accessed the server (when it exchanged an authorization code for an access token). Used for tracking client activity and identifying unused clients.

Source
last_accessed_at=(last_accessed_at : Time | Nil)

Last accessed timestamp.

Records when this client last accessed the server (when it exchanged an authorization code for an access token). Used for tracking client activity and identifying unused clients.

Source
manual

Manual registration flag.

Indicates whether this client was registered manually by an administrator (true) or through dynamic client registration (false).

Source
manual=(manual : Bool)

Manual registration flag.

Indicates whether this client was registered manually by an administrator (true) or through dynamic client registration (false).

Source
redirect_uris

A list of redirect URIs.

This is a critical security feature. It is a list of one or more URIs that the Ktistec server is allowed to redirect the user back to after they have authorized the application. The redirect_uri sent in the authorization request must be one of the URLs in this list.

Source
redirect_uris=(redirect_uris : String)

A list of redirect URIs.

This is a critical security feature. It is a list of one or more URIs that the Ktistec server is allowed to redirect the user back to after they have authorized the application. The redirect_uri sent in the authorization request must be one of the URLs in this list.

Source
scope

Scopes.

Defines the specific permissions the application is requesting (e.g., read, write). The user will see these requested scopes on the consent screen and must approve them. The resulting access token will be limited to these permissions.

Source
scope=(scope : String)

Scopes.

Defines the specific permissions the application is requesting (e.g., read, write). The user will see these requested scopes on the consent screen and must approve them. The resulting access token will be limited to these permissions.

Source