Class: Zitadel::Client::Auth::OAuthAuthenticatorBuilder
- Inherits:
-
Object
- Object
- Zitadel::Client::Auth::OAuthAuthenticatorBuilder
- Defined in:
- lib/zitadel/client/auth/authenticator.rb
Overview
Abstract builder class for constructing OAuth authenticator instances.
This builder provides common configuration options such as the OpenId instance and authentication scopes.
Direct Known Subclasses
ClientCredentialsAuthenticator::ClientCredentialsAuthenticatorBuilder, WebTokenAuthenticator::WebTokenAuthenticatorBuilder
Instance Method Summary collapse
-
#scopes(*scopes) ⇒ self
Sets the authentication scopes for the OAuth authenticator.
Instance Method Details
#scopes(*scopes) ⇒ self
Sets the authentication scopes for the OAuth authenticator.
73 74 75 76 |
# File 'lib/zitadel/client/auth/authenticator.rb', line 73 def scopes(*scopes) @auth_scopes = Set.new(scopes) self end |