slackline/api/openid/connect_token
This module is generated by gleam run -m slackline_codegen/generate. Do not edit it by hand.
Setters for the optional arguments of
openid.connect.token.
Each setter takes the call that openid.connect_token returns and sets one
argument:
openid.connect_token()
|> connect_token.client_id("2141029472.691202649728")
Values
pub fn client_id(
call: slackline.Call(openid.ConnectToken, r),
client_id: String,
) -> slackline.Call(openid.ConnectToken, r)
Issued when you created your application.
pub fn client_secret(
call: slackline.Call(openid.ConnectToken, r),
client_secret: String,
) -> slackline.Call(openid.ConnectToken, r)
Issued when you created your application.
pub fn code(
call: slackline.Call(openid.ConnectToken, r),
code: String,
) -> slackline.Call(openid.ConnectToken, r)
The code param returned via the OAuth callback.
pub fn code_verifier(
call: slackline.Call(openid.ConnectToken, r),
code_verifier: String,
) -> slackline.Call(openid.ConnectToken, r)
PKCE code verifier (RFC 7636). Required when the authorization request
included a code_challenge.
pub fn grant_type(
call: slackline.Call(openid.ConnectToken, r),
grant_type: common.GrantType,
) -> slackline.Call(openid.ConnectToken, r)
The grant_type param as described in the OAuth spec. Acceptable values:
authorization_code refresh_token
pub fn redirect_uri(
call: slackline.Call(openid.ConnectToken, r),
redirect_uri: String,
) -> slackline.Call(openid.ConnectToken, r)
This must match the originally submitted URI (if one was sent).
pub fn refresh_token(
call: slackline.Call(openid.ConnectToken, r),
refresh_token: String,
) -> slackline.Call(openid.ConnectToken, r)
The refresh_token param as described in the OAuth spec.