Skip to content

Commit

Permalink
add missing type signatures for base oauth class
Browse files Browse the repository at this point in the history
  • Loading branch information
Knerio committed Aug 29, 2024
1 parent a111125 commit d15630e
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions sig/code0/identities/provider/base_oauth.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,18 @@ module Code0

def config: () -> Hash[Symbol, any]

def load_identity: (params: Hash[Symbol, any]) -> Identity

def token_payload: (code: String) -> Hash[Symbol, any]

def create_identity: (response: Net::HTTPResponse, token: String, token_type: String) -> Identity

private

def access_token: (code: String) -> Array[String]

def check_response: (response: Net::HTTPResponse) -> void

end
end
end
Expand Down

0 comments on commit d15630e

Please sign in to comment.