All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.slack.api.methods.request.openid.connect.OpenIDConnectTokenRequest Maven / Gradle / Ivy

There is a newer version: 1.39.0
Show newest version
package com.slack.api.methods.request.openid.connect;

import com.slack.api.methods.SlackApiRequest;
import lombok.Builder;
import lombok.Data;

/**
 * - https://api.slack.com/methods/openid.connect.token
 * - https://api.slack.com/authentication/sign-in-with-slack
 */
@Data
@Builder
public class OpenIDConnectTokenRequest implements SlackApiRequest {

    /**
     * Issued when you created your application.
     */
    private String clientId;

    /**
     * Issued when you created your application.
     */
    private String clientSecret;

    /**
     * The `code` param returned via the OAuth callback.
     */
    private String code;

    /**
     * This must match the originally submitted URI (if one was sent).
     */
    private String redirectUri;

    /**
     * The grant_type param as described in the OAuth spec.
     */
    private String grantType;

    /**
     * The refresh_token param as described in the OAuth spec.
     */
    private String refreshToken;

    @Override
    public String getToken() {
        return null;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy