AuthApi
in package
AuthApi Class Doc Comment
Tags
Table of Contents
Constants
- contentTypes : array<string|int, string> = ['beginAddCredential' => ['application/json'],...
Properties
- $client : ClientInterface
- $config : Configuration
- $headerSelector : HeaderSelector
- $hostIndex : int
Methods
- __construct() : mixed
- beginAddCredential() : array<string, mixed>|Error
- Operation beginAddCredential
- beginAddCredentialAsync() : PromiseInterface
- Operation beginAddCredentialAsync
- beginAddCredentialAsyncWithHttpInfo() : PromiseInterface
- Operation beginAddCredentialAsyncWithHttpInfo
- beginAddCredentialRequest() : Request
- Create request for operation 'beginAddCredential'
- beginAddCredentialWithHttpInfo() : array<string|int, mixed>
- Operation beginAddCredentialWithHttpInfo
- beginLogin() : array<string, mixed>|Error
- Operation beginLogin
- beginLoginAsync() : PromiseInterface
- Operation beginLoginAsync
- beginLoginAsyncWithHttpInfo() : PromiseInterface
- Operation beginLoginAsyncWithHttpInfo
- beginLoginRequest() : Request
- Create request for operation 'beginLogin'
- beginLoginWithHttpInfo() : array<string|int, mixed>
- Operation beginLoginWithHttpInfo
- beginRegistration() : array<string, mixed>|Error
- Operation beginRegistration
- beginRegistrationAsync() : PromiseInterface
- Operation beginRegistrationAsync
- beginRegistrationAsyncWithHttpInfo() : PromiseInterface
- Operation beginRegistrationAsyncWithHttpInfo
- beginRegistrationRequest() : Request
- Create request for operation 'beginRegistration'
- beginRegistrationWithHttpInfo() : array<string|int, mixed>
- Operation beginRegistrationWithHttpInfo
- deleteCredential() : void
- Operation deleteCredential
- deleteCredentialAsync() : PromiseInterface
- Operation deleteCredentialAsync
- deleteCredentialAsyncWithHttpInfo() : PromiseInterface
- Operation deleteCredentialAsyncWithHttpInfo
- deleteCredentialRequest() : Request
- Create request for operation 'deleteCredential'
- deleteCredentialWithHttpInfo() : array<string|int, mixed>
- Operation deleteCredentialWithHttpInfo
- finishAddCredential() : Credential|Error
- Operation finishAddCredential
- finishAddCredentialAsync() : PromiseInterface
- Operation finishAddCredentialAsync
- finishAddCredentialAsyncWithHttpInfo() : PromiseInterface
- Operation finishAddCredentialAsyncWithHttpInfo
- finishAddCredentialRequest() : Request
- Create request for operation 'finishAddCredential'
- finishAddCredentialWithHttpInfo() : array<string|int, mixed>
- Operation finishAddCredentialWithHttpInfo
- finishLogin() : SessionUser|Error
- Operation finishLogin
- finishLoginAsync() : PromiseInterface
- Operation finishLoginAsync
- finishLoginAsyncWithHttpInfo() : PromiseInterface
- Operation finishLoginAsyncWithHttpInfo
- finishLoginRequest() : Request
- Create request for operation 'finishLogin'
- finishLoginWithHttpInfo() : array<string|int, mixed>
- Operation finishLoginWithHttpInfo
- finishRegistration() : SessionUser|Error
- Operation finishRegistration
- finishRegistrationAsync() : PromiseInterface
- Operation finishRegistrationAsync
- finishRegistrationAsyncWithHttpInfo() : PromiseInterface
- Operation finishRegistrationAsyncWithHttpInfo
- finishRegistrationRequest() : Request
- Create request for operation 'finishRegistration'
- finishRegistrationWithHttpInfo() : array<string|int, mixed>
- Operation finishRegistrationWithHttpInfo
- getConfig() : Configuration
- getHostIndex() : int
- Get the host index
- getRegistrationStatus() : RegistrationStatus
- Operation getRegistrationStatus
- getRegistrationStatusAsync() : PromiseInterface
- Operation getRegistrationStatusAsync
- getRegistrationStatusAsyncWithHttpInfo() : PromiseInterface
- Operation getRegistrationStatusAsyncWithHttpInfo
- getRegistrationStatusRequest() : Request
- Create request for operation 'getRegistrationStatus'
- getRegistrationStatusWithHttpInfo() : array<string|int, mixed>
- Operation getRegistrationStatusWithHttpInfo
- getSession() : SessionUser|Error
- Operation getSession
- getSessionAsync() : PromiseInterface
- Operation getSessionAsync
- getSessionAsyncWithHttpInfo() : PromiseInterface
- Operation getSessionAsyncWithHttpInfo
- getSessionRequest() : Request
- Create request for operation 'getSession'
- getSessionWithHttpInfo() : array<string|int, mixed>
- Operation getSessionWithHttpInfo
- listCredentials() : array<string|int, Credential>|Error
- Operation listCredentials
- listCredentialsAsync() : PromiseInterface
- Operation listCredentialsAsync
- listCredentialsAsyncWithHttpInfo() : PromiseInterface
- Operation listCredentialsAsyncWithHttpInfo
- listCredentialsRequest() : Request
- Create request for operation 'listCredentials'
- listCredentialsWithHttpInfo() : array<string|int, mixed>
- Operation listCredentialsWithHttpInfo
- logout() : void
- Operation logout
- logoutAsync() : PromiseInterface
- Operation logoutAsync
- logoutAsyncWithHttpInfo() : PromiseInterface
- Operation logoutAsyncWithHttpInfo
- logoutRequest() : Request
- Create request for operation 'logout'
- logoutWithHttpInfo() : array<string|int, mixed>
- Operation logoutWithHttpInfo
- setHostIndex() : void
- Set the host index
- createHttpClientOption() : array<string|int, mixed>
- Create http client option
- handleResponseWithDataType() : array<string|int, mixed>
- responseWithinRangeCode() : bool
Constants
contentTypes
public
array<string|int, string>
contentTypes
= ['beginAddCredential' => ['application/json'], 'beginLogin' => ['application/json'], 'beginRegistration' => ['application/json'], 'deleteCredential' => ['application/json'], 'finishAddCredential' => ['application/json'], 'finishLogin' => ['application/json'], 'finishRegistration' => ['application/json'], 'getRegistrationStatus' => ['application/json'], 'getSession' => ['application/json'], 'listCredentials' => ['application/json'], 'logout' => ['application/json']]
Properties
$client
protected
ClientInterface
$client
$config
protected
Configuration
$config
$headerSelector
protected
HeaderSelector
$headerSelector
$hostIndex
protected
int
$hostIndex
Host index
Methods
__construct()
public
__construct([ClientInterface $client = null ][, Configuration $config = null ][, HeaderSelector $selector = null ][, int $hostIndex = 0 ]) : mixed
Parameters
- $client : ClientInterface = null
- $config : Configuration = null
- $selector : HeaderSelector = null
- $hostIndex : int = 0
-
(Optional) host index to select the list of hosts if defined in the OpenAPI spec
beginAddCredential()
Operation beginAddCredential
public
beginAddCredential([string $contentType = self::contentTypes['beginAddCredential'][0] ]) : array<string, mixed>|Error
Start a ceremony to add another passkey to the signed-in account
Parameters
- $contentType : string = self::contentTypes['beginAddCredential'][0]
-
The value for the Content-Type header. Check self::contentTypes['beginAddCredential'] to see the possible values for this operation
Tags
Return values
array<string, mixed>|ErrorbeginAddCredentialAsync()
Operation beginAddCredentialAsync
public
beginAddCredentialAsync([string $contentType = self::contentTypes['beginAddCredential'][0] ]) : PromiseInterface
Start a ceremony to add another passkey to the signed-in account
Parameters
- $contentType : string = self::contentTypes['beginAddCredential'][0]
-
The value for the Content-Type header. Check self::contentTypes['beginAddCredential'] to see the possible values for this operation
Tags
Return values
PromiseInterfacebeginAddCredentialAsyncWithHttpInfo()
Operation beginAddCredentialAsyncWithHttpInfo
public
beginAddCredentialAsyncWithHttpInfo([string $contentType = self::contentTypes['beginAddCredential'][0] ]) : PromiseInterface
Start a ceremony to add another passkey to the signed-in account
Parameters
- $contentType : string = self::contentTypes['beginAddCredential'][0]
-
The value for the Content-Type header. Check self::contentTypes['beginAddCredential'] to see the possible values for this operation
Tags
Return values
PromiseInterfacebeginAddCredentialRequest()
Create request for operation 'beginAddCredential'
public
beginAddCredentialRequest([string $contentType = self::contentTypes['beginAddCredential'][0] ]) : Request
Parameters
- $contentType : string = self::contentTypes['beginAddCredential'][0]
-
The value for the Content-Type header. Check self::contentTypes['beginAddCredential'] to see the possible values for this operation
Tags
Return values
RequestbeginAddCredentialWithHttpInfo()
Operation beginAddCredentialWithHttpInfo
public
beginAddCredentialWithHttpInfo([string $contentType = self::contentTypes['beginAddCredential'][0] ]) : array<string|int, mixed>
Start a ceremony to add another passkey to the signed-in account
Parameters
- $contentType : string = self::contentTypes['beginAddCredential'][0]
-
The value for the Content-Type header. Check self::contentTypes['beginAddCredential'] to see the possible values for this operation
Tags
Return values
array<string|int, mixed> —of array<string,mixed>|\ForgeDashboard\Generated\Model\Error, HTTP status code, HTTP response headers (array of strings)
beginLogin()
Operation beginLogin
public
beginLogin(LoginBeginRequest $login_begin_request[, string $contentType = self::contentTypes['beginLogin'][0] ]) : array<string, mixed>|Error
Start a passkey login ceremony
Parameters
- $login_begin_request : LoginBeginRequest
-
login_begin_request (required)
- $contentType : string = self::contentTypes['beginLogin'][0]
-
The value for the Content-Type header. Check self::contentTypes['beginLogin'] to see the possible values for this operation
Tags
Return values
array<string, mixed>|ErrorbeginLoginAsync()
Operation beginLoginAsync
public
beginLoginAsync(LoginBeginRequest $login_begin_request[, string $contentType = self::contentTypes['beginLogin'][0] ]) : PromiseInterface
Start a passkey login ceremony
Parameters
- $login_begin_request : LoginBeginRequest
-
(required)
- $contentType : string = self::contentTypes['beginLogin'][0]
-
The value for the Content-Type header. Check self::contentTypes['beginLogin'] to see the possible values for this operation
Tags
Return values
PromiseInterfacebeginLoginAsyncWithHttpInfo()
Operation beginLoginAsyncWithHttpInfo
public
beginLoginAsyncWithHttpInfo(LoginBeginRequest $login_begin_request[, string $contentType = self::contentTypes['beginLogin'][0] ]) : PromiseInterface
Start a passkey login ceremony
Parameters
- $login_begin_request : LoginBeginRequest
-
(required)
- $contentType : string = self::contentTypes['beginLogin'][0]
-
The value for the Content-Type header. Check self::contentTypes['beginLogin'] to see the possible values for this operation
Tags
Return values
PromiseInterfacebeginLoginRequest()
Create request for operation 'beginLogin'
public
beginLoginRequest(LoginBeginRequest $login_begin_request[, string $contentType = self::contentTypes['beginLogin'][0] ]) : Request
Parameters
- $login_begin_request : LoginBeginRequest
-
(required)
- $contentType : string = self::contentTypes['beginLogin'][0]
-
The value for the Content-Type header. Check self::contentTypes['beginLogin'] to see the possible values for this operation
Tags
Return values
RequestbeginLoginWithHttpInfo()
Operation beginLoginWithHttpInfo
public
beginLoginWithHttpInfo(LoginBeginRequest $login_begin_request[, string $contentType = self::contentTypes['beginLogin'][0] ]) : array<string|int, mixed>
Start a passkey login ceremony
Parameters
- $login_begin_request : LoginBeginRequest
-
(required)
- $contentType : string = self::contentTypes['beginLogin'][0]
-
The value for the Content-Type header. Check self::contentTypes['beginLogin'] to see the possible values for this operation
Tags
Return values
array<string|int, mixed> —of array<string,mixed>|\ForgeDashboard\Generated\Model\Error, HTTP status code, HTTP response headers (array of strings)
beginRegistration()
Operation beginRegistration
public
beginRegistration(RegisterBeginRequest $register_begin_request[, string $contentType = self::contentTypes['beginRegistration'][0] ]) : array<string, mixed>|Error
Start a passkey registration ceremony
Parameters
- $register_begin_request : RegisterBeginRequest
-
register_begin_request (required)
- $contentType : string = self::contentTypes['beginRegistration'][0]
-
The value for the Content-Type header. Check self::contentTypes['beginRegistration'] to see the possible values for this operation
Tags
Return values
array<string, mixed>|ErrorbeginRegistrationAsync()
Operation beginRegistrationAsync
public
beginRegistrationAsync(RegisterBeginRequest $register_begin_request[, string $contentType = self::contentTypes['beginRegistration'][0] ]) : PromiseInterface
Start a passkey registration ceremony
Parameters
- $register_begin_request : RegisterBeginRequest
-
(required)
- $contentType : string = self::contentTypes['beginRegistration'][0]
-
The value for the Content-Type header. Check self::contentTypes['beginRegistration'] to see the possible values for this operation
Tags
Return values
PromiseInterfacebeginRegistrationAsyncWithHttpInfo()
Operation beginRegistrationAsyncWithHttpInfo
public
beginRegistrationAsyncWithHttpInfo(RegisterBeginRequest $register_begin_request[, string $contentType = self::contentTypes['beginRegistration'][0] ]) : PromiseInterface
Start a passkey registration ceremony
Parameters
- $register_begin_request : RegisterBeginRequest
-
(required)
- $contentType : string = self::contentTypes['beginRegistration'][0]
-
The value for the Content-Type header. Check self::contentTypes['beginRegistration'] to see the possible values for this operation
Tags
Return values
PromiseInterfacebeginRegistrationRequest()
Create request for operation 'beginRegistration'
public
beginRegistrationRequest(RegisterBeginRequest $register_begin_request[, string $contentType = self::contentTypes['beginRegistration'][0] ]) : Request
Parameters
- $register_begin_request : RegisterBeginRequest
-
(required)
- $contentType : string = self::contentTypes['beginRegistration'][0]
-
The value for the Content-Type header. Check self::contentTypes['beginRegistration'] to see the possible values for this operation
Tags
Return values
RequestbeginRegistrationWithHttpInfo()
Operation beginRegistrationWithHttpInfo
public
beginRegistrationWithHttpInfo(RegisterBeginRequest $register_begin_request[, string $contentType = self::contentTypes['beginRegistration'][0] ]) : array<string|int, mixed>
Start a passkey registration ceremony
Parameters
- $register_begin_request : RegisterBeginRequest
-
(required)
- $contentType : string = self::contentTypes['beginRegistration'][0]
-
The value for the Content-Type header. Check self::contentTypes['beginRegistration'] to see the possible values for this operation
Tags
Return values
array<string|int, mixed> —of array<string,mixed>|\ForgeDashboard\Generated\Model\Error|\ForgeDashboard\Generated\Model\Error, HTTP status code, HTTP response headers (array of strings)
deleteCredential()
Operation deleteCredential
public
deleteCredential(string $id[, string $contentType = self::contentTypes['deleteCredential'][0] ]) : void
Remove one of the signed-in user's own passkeys
Parameters
- $id : string
-
id (required)
- $contentType : string = self::contentTypes['deleteCredential'][0]
-
The value for the Content-Type header. Check self::contentTypes['deleteCredential'] to see the possible values for this operation
Tags
deleteCredentialAsync()
Operation deleteCredentialAsync
public
deleteCredentialAsync(string $id[, string $contentType = self::contentTypes['deleteCredential'][0] ]) : PromiseInterface
Remove one of the signed-in user's own passkeys
Parameters
- $id : string
-
(required)
- $contentType : string = self::contentTypes['deleteCredential'][0]
-
The value for the Content-Type header. Check self::contentTypes['deleteCredential'] to see the possible values for this operation
Tags
Return values
PromiseInterfacedeleteCredentialAsyncWithHttpInfo()
Operation deleteCredentialAsyncWithHttpInfo
public
deleteCredentialAsyncWithHttpInfo(string $id[, string $contentType = self::contentTypes['deleteCredential'][0] ]) : PromiseInterface
Remove one of the signed-in user's own passkeys
Parameters
- $id : string
-
(required)
- $contentType : string = self::contentTypes['deleteCredential'][0]
-
The value for the Content-Type header. Check self::contentTypes['deleteCredential'] to see the possible values for this operation
Tags
Return values
PromiseInterfacedeleteCredentialRequest()
Create request for operation 'deleteCredential'
public
deleteCredentialRequest(string $id[, string $contentType = self::contentTypes['deleteCredential'][0] ]) : Request
Parameters
- $id : string
-
(required)
- $contentType : string = self::contentTypes['deleteCredential'][0]
-
The value for the Content-Type header. Check self::contentTypes['deleteCredential'] to see the possible values for this operation
Tags
Return values
RequestdeleteCredentialWithHttpInfo()
Operation deleteCredentialWithHttpInfo
public
deleteCredentialWithHttpInfo(string $id[, string $contentType = self::contentTypes['deleteCredential'][0] ]) : array<string|int, mixed>
Remove one of the signed-in user's own passkeys
Parameters
- $id : string
-
(required)
- $contentType : string = self::contentTypes['deleteCredential'][0]
-
The value for the Content-Type header. Check self::contentTypes['deleteCredential'] to see the possible values for this operation
Tags
Return values
array<string|int, mixed> —of null, HTTP status code, HTTP response headers (array of strings)
finishAddCredential()
Operation finishAddCredential
public
finishAddCredential(string $label, array<string, mixed> $request_body[, string $contentType = self::contentTypes['finishAddCredential'][0] ]) : Credential|Error
Complete an add-credential ceremony
Parameters
- $label : string
-
A name the user recognizes, e.g. "MacBook" or "YubiKey", prompted for at registration time, never derived from the authenticator itself. (required)
- $request_body : array<string, mixed>
-
The raw response from `navigator.credentials.create()`, exactly as the browser produced it — forwarded to the server untouched. (required)
- $contentType : string = self::contentTypes['finishAddCredential'][0]
-
The value for the Content-Type header. Check self::contentTypes['finishAddCredential'] to see the possible values for this operation
Tags
Return values
Credential|ErrorfinishAddCredentialAsync()
Operation finishAddCredentialAsync
public
finishAddCredentialAsync(string $label, array<string, mixed> $request_body[, string $contentType = self::contentTypes['finishAddCredential'][0] ]) : PromiseInterface
Complete an add-credential ceremony
Parameters
- $label : string
-
A name the user recognizes, e.g. "MacBook" or "YubiKey", prompted for at registration time, never derived from the authenticator itself. (required)
- $request_body : array<string, mixed>
-
The raw response from `navigator.credentials.create()`, exactly as the browser produced it — forwarded to the server untouched. (required)
- $contentType : string = self::contentTypes['finishAddCredential'][0]
-
The value for the Content-Type header. Check self::contentTypes['finishAddCredential'] to see the possible values for this operation
Tags
Return values
PromiseInterfacefinishAddCredentialAsyncWithHttpInfo()
Operation finishAddCredentialAsyncWithHttpInfo
public
finishAddCredentialAsyncWithHttpInfo(string $label, array<string, mixed> $request_body[, string $contentType = self::contentTypes['finishAddCredential'][0] ]) : PromiseInterface
Complete an add-credential ceremony
Parameters
- $label : string
-
A name the user recognizes, e.g. "MacBook" or "YubiKey", prompted for at registration time, never derived from the authenticator itself. (required)
- $request_body : array<string, mixed>
-
The raw response from `navigator.credentials.create()`, exactly as the browser produced it — forwarded to the server untouched. (required)
- $contentType : string = self::contentTypes['finishAddCredential'][0]
-
The value for the Content-Type header. Check self::contentTypes['finishAddCredential'] to see the possible values for this operation
Tags
Return values
PromiseInterfacefinishAddCredentialRequest()
Create request for operation 'finishAddCredential'
public
finishAddCredentialRequest(string $label, array<string, mixed> $request_body[, string $contentType = self::contentTypes['finishAddCredential'][0] ]) : Request
Parameters
- $label : string
-
A name the user recognizes, e.g. "MacBook" or "YubiKey", prompted for at registration time, never derived from the authenticator itself. (required)
- $request_body : array<string, mixed>
-
The raw response from `navigator.credentials.create()`, exactly as the browser produced it — forwarded to the server untouched. (required)
- $contentType : string = self::contentTypes['finishAddCredential'][0]
-
The value for the Content-Type header. Check self::contentTypes['finishAddCredential'] to see the possible values for this operation
Tags
Return values
RequestfinishAddCredentialWithHttpInfo()
Operation finishAddCredentialWithHttpInfo
public
finishAddCredentialWithHttpInfo(string $label, array<string, mixed> $request_body[, string $contentType = self::contentTypes['finishAddCredential'][0] ]) : array<string|int, mixed>
Complete an add-credential ceremony
Parameters
- $label : string
-
A name the user recognizes, e.g. "MacBook" or "YubiKey", prompted for at registration time, never derived from the authenticator itself. (required)
- $request_body : array<string, mixed>
-
The raw response from `navigator.credentials.create()`, exactly as the browser produced it — forwarded to the server untouched. (required)
- $contentType : string = self::contentTypes['finishAddCredential'][0]
-
The value for the Content-Type header. Check self::contentTypes['finishAddCredential'] to see the possible values for this operation
Tags
Return values
array<string|int, mixed> —of \ForgeDashboard\Generated\Model\Credential|\ForgeDashboard\Generated\Model\Error|\ForgeDashboard\Generated\Model\Error, HTTP status code, HTTP response headers (array of strings)
finishLogin()
Operation finishLogin
public
finishLogin(string $username, array<string, mixed> $request_body[, string $contentType = self::contentTypes['finishLogin'][0] ]) : SessionUser|Error
Complete a passkey login ceremony
Parameters
- $username : string
-
username (required)
- $request_body : array<string, mixed>
-
The raw response from `navigator.credentials.get()`, exactly as the browser produced it — forwarded to the server untouched. (required)
- $contentType : string = self::contentTypes['finishLogin'][0]
-
The value for the Content-Type header. Check self::contentTypes['finishLogin'] to see the possible values for this operation
Tags
Return values
SessionUser|ErrorfinishLoginAsync()
Operation finishLoginAsync
public
finishLoginAsync(string $username, array<string, mixed> $request_body[, string $contentType = self::contentTypes['finishLogin'][0] ]) : PromiseInterface
Complete a passkey login ceremony
Parameters
- $username : string
-
(required)
- $request_body : array<string, mixed>
-
The raw response from `navigator.credentials.get()`, exactly as the browser produced it — forwarded to the server untouched. (required)
- $contentType : string = self::contentTypes['finishLogin'][0]
-
The value for the Content-Type header. Check self::contentTypes['finishLogin'] to see the possible values for this operation
Tags
Return values
PromiseInterfacefinishLoginAsyncWithHttpInfo()
Operation finishLoginAsyncWithHttpInfo
public
finishLoginAsyncWithHttpInfo(string $username, array<string, mixed> $request_body[, string $contentType = self::contentTypes['finishLogin'][0] ]) : PromiseInterface
Complete a passkey login ceremony
Parameters
- $username : string
-
(required)
- $request_body : array<string, mixed>
-
The raw response from `navigator.credentials.get()`, exactly as the browser produced it — forwarded to the server untouched. (required)
- $contentType : string = self::contentTypes['finishLogin'][0]
-
The value for the Content-Type header. Check self::contentTypes['finishLogin'] to see the possible values for this operation
Tags
Return values
PromiseInterfacefinishLoginRequest()
Create request for operation 'finishLogin'
public
finishLoginRequest(string $username, array<string, mixed> $request_body[, string $contentType = self::contentTypes['finishLogin'][0] ]) : Request
Parameters
- $username : string
-
(required)
- $request_body : array<string, mixed>
-
The raw response from `navigator.credentials.get()`, exactly as the browser produced it — forwarded to the server untouched. (required)
- $contentType : string = self::contentTypes['finishLogin'][0]
-
The value for the Content-Type header. Check self::contentTypes['finishLogin'] to see the possible values for this operation
Tags
Return values
RequestfinishLoginWithHttpInfo()
Operation finishLoginWithHttpInfo
public
finishLoginWithHttpInfo(string $username, array<string, mixed> $request_body[, string $contentType = self::contentTypes['finishLogin'][0] ]) : array<string|int, mixed>
Complete a passkey login ceremony
Parameters
- $username : string
-
(required)
- $request_body : array<string, mixed>
-
The raw response from `navigator.credentials.get()`, exactly as the browser produced it — forwarded to the server untouched. (required)
- $contentType : string = self::contentTypes['finishLogin'][0]
-
The value for the Content-Type header. Check self::contentTypes['finishLogin'] to see the possible values for this operation
Tags
Return values
array<string|int, mixed> —of \ForgeDashboard\Generated\Model\SessionUser|\ForgeDashboard\Generated\Model\Error, HTTP status code, HTTP response headers (array of strings)
finishRegistration()
Operation finishRegistration
public
finishRegistration(string $username, array<string, mixed> $request_body[, string $contentType = self::contentTypes['finishRegistration'][0] ]) : SessionUser|Error
Complete a passkey registration ceremony
Parameters
- $username : string
-
username (required)
- $request_body : array<string, mixed>
-
The raw response from `navigator.credentials.create()`, exactly as the browser produced it — forwarded to the server untouched. (required)
- $contentType : string = self::contentTypes['finishRegistration'][0]
-
The value for the Content-Type header. Check self::contentTypes['finishRegistration'] to see the possible values for this operation
Tags
Return values
SessionUser|ErrorfinishRegistrationAsync()
Operation finishRegistrationAsync
public
finishRegistrationAsync(string $username, array<string, mixed> $request_body[, string $contentType = self::contentTypes['finishRegistration'][0] ]) : PromiseInterface
Complete a passkey registration ceremony
Parameters
- $username : string
-
(required)
- $request_body : array<string, mixed>
-
The raw response from `navigator.credentials.create()`, exactly as the browser produced it — forwarded to the server untouched. (required)
- $contentType : string = self::contentTypes['finishRegistration'][0]
-
The value for the Content-Type header. Check self::contentTypes['finishRegistration'] to see the possible values for this operation
Tags
Return values
PromiseInterfacefinishRegistrationAsyncWithHttpInfo()
Operation finishRegistrationAsyncWithHttpInfo
public
finishRegistrationAsyncWithHttpInfo(string $username, array<string, mixed> $request_body[, string $contentType = self::contentTypes['finishRegistration'][0] ]) : PromiseInterface
Complete a passkey registration ceremony
Parameters
- $username : string
-
(required)
- $request_body : array<string, mixed>
-
The raw response from `navigator.credentials.create()`, exactly as the browser produced it — forwarded to the server untouched. (required)
- $contentType : string = self::contentTypes['finishRegistration'][0]
-
The value for the Content-Type header. Check self::contentTypes['finishRegistration'] to see the possible values for this operation
Tags
Return values
PromiseInterfacefinishRegistrationRequest()
Create request for operation 'finishRegistration'
public
finishRegistrationRequest(string $username, array<string, mixed> $request_body[, string $contentType = self::contentTypes['finishRegistration'][0] ]) : Request
Parameters
- $username : string
-
(required)
- $request_body : array<string, mixed>
-
The raw response from `navigator.credentials.create()`, exactly as the browser produced it — forwarded to the server untouched. (required)
- $contentType : string = self::contentTypes['finishRegistration'][0]
-
The value for the Content-Type header. Check self::contentTypes['finishRegistration'] to see the possible values for this operation
Tags
Return values
RequestfinishRegistrationWithHttpInfo()
Operation finishRegistrationWithHttpInfo
public
finishRegistrationWithHttpInfo(string $username, array<string, mixed> $request_body[, string $contentType = self::contentTypes['finishRegistration'][0] ]) : array<string|int, mixed>
Complete a passkey registration ceremony
Parameters
- $username : string
-
(required)
- $request_body : array<string, mixed>
-
The raw response from `navigator.credentials.create()`, exactly as the browser produced it — forwarded to the server untouched. (required)
- $contentType : string = self::contentTypes['finishRegistration'][0]
-
The value for the Content-Type header. Check self::contentTypes['finishRegistration'] to see the possible values for this operation
Tags
Return values
array<string|int, mixed> —of \ForgeDashboard\Generated\Model\SessionUser|\ForgeDashboard\Generated\Model\Error, HTTP status code, HTTP response headers (array of strings)
getConfig()
public
getConfig() : Configuration
Return values
ConfigurationgetHostIndex()
Get the host index
public
getHostIndex() : int
Return values
int —Host index
getRegistrationStatus()
Operation getRegistrationStatus
public
getRegistrationStatus([string $contentType = self::contentTypes['getRegistrationStatus'][0] ]) : RegistrationStatus
Whether self-registration is open
Parameters
- $contentType : string = self::contentTypes['getRegistrationStatus'][0]
-
The value for the Content-Type header. Check self::contentTypes['getRegistrationStatus'] to see the possible values for this operation
Tags
Return values
RegistrationStatusgetRegistrationStatusAsync()
Operation getRegistrationStatusAsync
public
getRegistrationStatusAsync([string $contentType = self::contentTypes['getRegistrationStatus'][0] ]) : PromiseInterface
Whether self-registration is open
Parameters
- $contentType : string = self::contentTypes['getRegistrationStatus'][0]
-
The value for the Content-Type header. Check self::contentTypes['getRegistrationStatus'] to see the possible values for this operation
Tags
Return values
PromiseInterfacegetRegistrationStatusAsyncWithHttpInfo()
Operation getRegistrationStatusAsyncWithHttpInfo
public
getRegistrationStatusAsyncWithHttpInfo([string $contentType = self::contentTypes['getRegistrationStatus'][0] ]) : PromiseInterface
Whether self-registration is open
Parameters
- $contentType : string = self::contentTypes['getRegistrationStatus'][0]
-
The value for the Content-Type header. Check self::contentTypes['getRegistrationStatus'] to see the possible values for this operation
Tags
Return values
PromiseInterfacegetRegistrationStatusRequest()
Create request for operation 'getRegistrationStatus'
public
getRegistrationStatusRequest([string $contentType = self::contentTypes['getRegistrationStatus'][0] ]) : Request
Parameters
- $contentType : string = self::contentTypes['getRegistrationStatus'][0]
-
The value for the Content-Type header. Check self::contentTypes['getRegistrationStatus'] to see the possible values for this operation
Tags
Return values
RequestgetRegistrationStatusWithHttpInfo()
Operation getRegistrationStatusWithHttpInfo
public
getRegistrationStatusWithHttpInfo([string $contentType = self::contentTypes['getRegistrationStatus'][0] ]) : array<string|int, mixed>
Whether self-registration is open
Parameters
- $contentType : string = self::contentTypes['getRegistrationStatus'][0]
-
The value for the Content-Type header. Check self::contentTypes['getRegistrationStatus'] to see the possible values for this operation
Tags
Return values
array<string|int, mixed> —of \ForgeDashboard\Generated\Model\RegistrationStatus, HTTP status code, HTTP response headers (array of strings)
getSession()
Operation getSession
public
getSession([string $contentType = self::contentTypes['getSession'][0] ]) : SessionUser|Error
Who, if anyone, the current session cookie belongs to
Parameters
- $contentType : string = self::contentTypes['getSession'][0]
-
The value for the Content-Type header. Check self::contentTypes['getSession'] to see the possible values for this operation
Tags
Return values
SessionUser|ErrorgetSessionAsync()
Operation getSessionAsync
public
getSessionAsync([string $contentType = self::contentTypes['getSession'][0] ]) : PromiseInterface
Who, if anyone, the current session cookie belongs to
Parameters
- $contentType : string = self::contentTypes['getSession'][0]
-
The value for the Content-Type header. Check self::contentTypes['getSession'] to see the possible values for this operation
Tags
Return values
PromiseInterfacegetSessionAsyncWithHttpInfo()
Operation getSessionAsyncWithHttpInfo
public
getSessionAsyncWithHttpInfo([string $contentType = self::contentTypes['getSession'][0] ]) : PromiseInterface
Who, if anyone, the current session cookie belongs to
Parameters
- $contentType : string = self::contentTypes['getSession'][0]
-
The value for the Content-Type header. Check self::contentTypes['getSession'] to see the possible values for this operation
Tags
Return values
PromiseInterfacegetSessionRequest()
Create request for operation 'getSession'
public
getSessionRequest([string $contentType = self::contentTypes['getSession'][0] ]) : Request
Parameters
- $contentType : string = self::contentTypes['getSession'][0]
-
The value for the Content-Type header. Check self::contentTypes['getSession'] to see the possible values for this operation
Tags
Return values
RequestgetSessionWithHttpInfo()
Operation getSessionWithHttpInfo
public
getSessionWithHttpInfo([string $contentType = self::contentTypes['getSession'][0] ]) : array<string|int, mixed>
Who, if anyone, the current session cookie belongs to
Parameters
- $contentType : string = self::contentTypes['getSession'][0]
-
The value for the Content-Type header. Check self::contentTypes['getSession'] to see the possible values for this operation
Tags
Return values
array<string|int, mixed> —of \ForgeDashboard\Generated\Model\SessionUser|\ForgeDashboard\Generated\Model\Error, HTTP status code, HTTP response headers (array of strings)
listCredentials()
Operation listCredentials
public
listCredentials([string $contentType = self::contentTypes['listCredentials'][0] ]) : array<string|int, Credential>|Error
List the signed-in user's own passkeys
Parameters
- $contentType : string = self::contentTypes['listCredentials'][0]
-
The value for the Content-Type header. Check self::contentTypes['listCredentials'] to see the possible values for this operation
Tags
Return values
array<string|int, Credential>|ErrorlistCredentialsAsync()
Operation listCredentialsAsync
public
listCredentialsAsync([string $contentType = self::contentTypes['listCredentials'][0] ]) : PromiseInterface
List the signed-in user's own passkeys
Parameters
- $contentType : string = self::contentTypes['listCredentials'][0]
-
The value for the Content-Type header. Check self::contentTypes['listCredentials'] to see the possible values for this operation
Tags
Return values
PromiseInterfacelistCredentialsAsyncWithHttpInfo()
Operation listCredentialsAsyncWithHttpInfo
public
listCredentialsAsyncWithHttpInfo([string $contentType = self::contentTypes['listCredentials'][0] ]) : PromiseInterface
List the signed-in user's own passkeys
Parameters
- $contentType : string = self::contentTypes['listCredentials'][0]
-
The value for the Content-Type header. Check self::contentTypes['listCredentials'] to see the possible values for this operation
Tags
Return values
PromiseInterfacelistCredentialsRequest()
Create request for operation 'listCredentials'
public
listCredentialsRequest([string $contentType = self::contentTypes['listCredentials'][0] ]) : Request
Parameters
- $contentType : string = self::contentTypes['listCredentials'][0]
-
The value for the Content-Type header. Check self::contentTypes['listCredentials'] to see the possible values for this operation
Tags
Return values
RequestlistCredentialsWithHttpInfo()
Operation listCredentialsWithHttpInfo
public
listCredentialsWithHttpInfo([string $contentType = self::contentTypes['listCredentials'][0] ]) : array<string|int, mixed>
List the signed-in user's own passkeys
Parameters
- $contentType : string = self::contentTypes['listCredentials'][0]
-
The value for the Content-Type header. Check self::contentTypes['listCredentials'] to see the possible values for this operation
Tags
Return values
array<string|int, mixed> —of \ForgeDashboard\Generated\Model\Credential[]|\ForgeDashboard\Generated\Model\Error, HTTP status code, HTTP response headers (array of strings)
logout()
Operation logout
public
logout([string $contentType = self::contentTypes['logout'][0] ]) : void
End the current session
Parameters
- $contentType : string = self::contentTypes['logout'][0]
-
The value for the Content-Type header. Check self::contentTypes['logout'] to see the possible values for this operation
Tags
logoutAsync()
Operation logoutAsync
public
logoutAsync([string $contentType = self::contentTypes['logout'][0] ]) : PromiseInterface
End the current session
Parameters
- $contentType : string = self::contentTypes['logout'][0]
-
The value for the Content-Type header. Check self::contentTypes['logout'] to see the possible values for this operation
Tags
Return values
PromiseInterfacelogoutAsyncWithHttpInfo()
Operation logoutAsyncWithHttpInfo
public
logoutAsyncWithHttpInfo([string $contentType = self::contentTypes['logout'][0] ]) : PromiseInterface
End the current session
Parameters
- $contentType : string = self::contentTypes['logout'][0]
-
The value for the Content-Type header. Check self::contentTypes['logout'] to see the possible values for this operation
Tags
Return values
PromiseInterfacelogoutRequest()
Create request for operation 'logout'
public
logoutRequest([string $contentType = self::contentTypes['logout'][0] ]) : Request
Parameters
- $contentType : string = self::contentTypes['logout'][0]
-
The value for the Content-Type header. Check self::contentTypes['logout'] to see the possible values for this operation
Tags
Return values
RequestlogoutWithHttpInfo()
Operation logoutWithHttpInfo
public
logoutWithHttpInfo([string $contentType = self::contentTypes['logout'][0] ]) : array<string|int, mixed>
End the current session
Parameters
- $contentType : string = self::contentTypes['logout'][0]
-
The value for the Content-Type header. Check self::contentTypes['logout'] to see the possible values for this operation
Tags
Return values
array<string|int, mixed> —of null, HTTP status code, HTTP response headers (array of strings)
setHostIndex()
Set the host index
public
setHostIndex(int $hostIndex) : void
Parameters
- $hostIndex : int
-
Host index (required)
createHttpClientOption()
Create http client option
protected
createHttpClientOption() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed> —of http client options
handleResponseWithDataType()
private
handleResponseWithDataType(string $dataType, RequestInterface $request, ResponseInterface $response) : array<string|int, mixed>
Parameters
- $dataType : string
- $request : RequestInterface
- $response : ResponseInterface
Return values
array<string|int, mixed>responseWithinRangeCode()
private
responseWithinRangeCode(string $rangeCode, int $statusCode) : bool
Parameters
- $rangeCode : string
- $statusCode : int