Module: Foobara::AuthHttp

Defined in:
foobara-auth-http-0.0.7/src/foobara/auth_http/bearer_authenticator.rb,
foobara-auth-http-0.0.7/src/foobara/auth_http/api_key_authenticator.rb,
foobara-auth-http-0.0.7/src/foobara/auth_http/clear_access_token_header.rb,
foobara-auth-http-0.0.7/src/foobara/auth_http/move_access_token_to_header.rb,
foobara-auth-http-0.0.7/src/foobara/auth_http/move_refresh_token_to_cookie.rb,
foobara-auth-http-0.0.7/src/foobara/auth_http/set_refresh_token_from_cookie.rb,
foobara-auth-http-0.0.7/src/foobara/auth_http/set_user_to_authenticated_user.rb,
foobara-auth-http-0.0.7/lib/foobara/auth_http.rb

Defined Under Namespace

Classes: ApiKeyAuthenticator, BearerAuthenticator, ClearAccessTokenHeader, MoveAccessTokenToHeader, MoveRefreshTokenToCookie, SetRefreshTokenFromCookie, SetUserToAuthenticatedUser

Class Method Summary collapse

Class Method Details

.install!Object



10
11
12
13
# File 'foobara-auth-http-0.0.7/lib/foobara/auth_http.rb', line 10

def install!
  CommandConnectors::Http.register_authenticator(BearerAuthenticator)
  CommandConnectors::Http.register_authenticator(ApiKeyAuthenticator)
end