Skip to content

Commit d15630e

Browse files
committed
add missing type signatures for base oauth class
1 parent a111125 commit d15630e

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

sig/code0/identities/provider/base_oauth.rbs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,18 @@ module Code0
1414

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

17+
def load_identity: (params: Hash[Symbol, any]) -> Identity
18+
19+
def token_payload: (code: String) -> Hash[Symbol, any]
20+
1721
def create_identity: (response: Net::HTTPResponse, token: String, token_type: String) -> Identity
22+
23+
private
24+
25+
def access_token: (code: String) -> Array[String]
26+
27+
def check_response: (response: Net::HTTPResponse) -> void
28+
1829
end
1930
end
2031
end

0 commit comments

Comments
 (0)