getOpenIDConfigurationWithHttpInfo method
OpenID Connect Discovery 1.0 metadata.
Alias of /.well-known/oauth-authorization-server. Provided so OIDC client libraries (NextAuth, Auth.js, oidc-client-ts, passport-openidconnect) auto-detect Spatio as an OIDC provider via their wellKnown / discoveryUrl config field.
Note: This method returns the HTTP Response.
Implementation
Future<Response> getOpenIDConfigurationWithHttpInfo() async {
// ignore: prefer_const_declarations
final path = r'/.well-known/openid-configuration';
// ignore: prefer_final_locals
Object? postBody;
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
const contentTypes = <String>[];
return apiClient.invokeAPI(
path,
'GET',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}