class

App::OAuthTokens

Inherits App::Base < App::Pagination < ActionController::Base < ActionController::Responders < ActionController::Route::Builder < Reference < Object

Constants

PARSER_LIST = ["application/json"]
RESPONDER_LIST = ["application/json", "text/html"]

Class methods

base_route

Helper for obtaining base route

manage(hash_parts : Hash(String | Symbol, Nil | Bool | Int32 | Int64 | Float32 | Float64 | String | Symbol) | Nil = nil, **tuple_parts)

Helper methods for performing redirect_to calls

Instance methods

base_route(*args, **options)

Helper for obtaining base route

base_route(*args, **options, &)

Helper for obtaining base route

by_application(application_id : String, include_revoked : Bool = false, include_expired : Bool = false)

List tokens for an OAuth application (organization managers only)

Source
current_token
Source
current_token?
Source
index(client_id : String | Nil = nil, token_type : String | Nil = nil, include_revoked : Bool = false, include_expired : Bool = false)

List tokens for current user

Source
manage

Manage OAuth tokens (view)

Source
revoke

Revoke a token

Source
revoke_all(client_id : String | Nil = nil) : NamedTuple(revoked_count: Int32)

Revoke all tokens for current user

Source
show

Get token details

Source