immich/mobile/openapi/doc/AuthApi.md

1 KiB

openapi.api.AuthApi

Load the API package

import 'package:openapi/api.dart';

All URIs are relative to /api

Method HTTP request Description
oidcDeviceFlow GET /yucca/auth/oidc/device

oidcDeviceFlow

DeviceFlowResponseDto oidcDeviceFlow()

Example

import 'package:openapi/api.dart';

final api_instance = AuthApi();

try {
    final result = api_instance.oidcDeviceFlow();
    print(result);
} catch (e) {
    print('Exception when calling AuthApi->oidcDeviceFlow: $e\n');
}

Parameters

This endpoint does not need any parameter.

Return type

DeviceFlowResponseDto

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

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