Instance Method

deviceFlowAuthorizationRequest()

Sends a POST request to the authorization endpoint. Returns a DeviceAuthorizationFlow.DeviceAuthResponse instance.

Declaration

func deviceFlowAuthorizationRequest() async throws -> DeviceAuthorizationFlow.DeviceAuthResponse

Discussion

If an HTTP error occurs, the HTTP request to the authorization endpoint will be retried once.

See Also

Authorization