Skip to content

Latest commit

 

History

History
81 lines (51 loc) · 2.53 KB

PushedAuthorizationEndpointApi.md

File metadata and controls

81 lines (51 loc) · 2.53 KB

\PushedAuthorizationEndpointApi

All URIs are relative to https://api.authlete.com

Method HTTP request Description
PushedAuthReqApi Post /api/{serviceApiKey}/pushed_auth_req /api/pushed_auth_req API

PushedAuthReqApi

PushedAuthorizationResponse PushedAuthReqApi(ctx, serviceApiKey).PushedAuthorizationRequest(pushedAuthorizationRequest).Execute()

/api/pushed_auth_req API

Example

package main

import (
    "context"
    "fmt"
    "os"
    openapiclient "./openapi"
)

func main() {
    serviceApiKey := "serviceApiKey_example" // string | serviceApiKey
    pushedAuthorizationRequest := *openapiclient.NewPushedAuthorizationRequest("Parameters_example") // PushedAuthorizationRequest | 

    configuration := openapiclient.NewConfiguration()
    apiClient := openapiclient.NewAPIClient(configuration)
    resp, r, err := apiClient.PushedAuthorizationEndpointApi.PushedAuthReqApi(context.Background(), serviceApiKey).PushedAuthorizationRequest(pushedAuthorizationRequest).Execute()
    if err != nil {
        fmt.Fprintf(os.Stderr, "Error when calling `PushedAuthorizationEndpointApi.PushedAuthReqApi``: %v\n", err)
        fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
    }
    // response from `PushedAuthReqApi`: PushedAuthorizationResponse
    fmt.Fprintf(os.Stdout, "Response from `PushedAuthorizationEndpointApi.PushedAuthReqApi`: %v\n", resp)
}

Path Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
serviceApiKey string serviceApiKey

Other Parameters

Other parameters are passed through a pointer to a apiPushedAuthReqApiRequest struct via the builder pattern

Name Type Description Notes

pushedAuthorizationRequest | PushedAuthorizationRequest | |

Return type

PushedAuthorizationResponse

Authorization

ServiceCredentials

HTTP request headers

  • Content-Type: application/json, application/x-www-form-urlencoded
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]