Skip to content

Latest commit

 

History

History
75 lines (46 loc) · 1.94 KB

JoseObjectApi.md

File metadata and controls

75 lines (46 loc) · 1.94 KB

\JoseObjectApi

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

Method HTTP request Description
JoseVerifyApi Post /api/jose/verify /api/jose/verify API

JoseVerifyApi

JoseVerifyResponse JoseVerifyApi(ctx).JoseVerifyRequest(joseVerifyRequest).Execute()

/api/jose/verify API

Example

package main

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

func main() {
    joseVerifyRequest := *openapiclient.NewJoseVerifyRequest("Jose_example") // JoseVerifyRequest |  (optional)

    configuration := openapiclient.NewConfiguration()
    apiClient := openapiclient.NewAPIClient(configuration)
    resp, r, err := apiClient.JoseObjectApi.JoseVerifyApi(context.Background()).JoseVerifyRequest(joseVerifyRequest).Execute()
    if err != nil {
        fmt.Fprintf(os.Stderr, "Error when calling `JoseObjectApi.JoseVerifyApi``: %v\n", err)
        fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
    }
    // response from `JoseVerifyApi`: JoseVerifyResponse
    fmt.Fprintf(os.Stdout, "Response from `JoseObjectApi.JoseVerifyApi`: %v\n", resp)
}

Path Parameters

Other Parameters

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

Name Type Description Notes
joseVerifyRequest JoseVerifyRequest

Return type

JoseVerifyResponse

Authorization

ServiceOwnerCredentials

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]