Open-source event management and ticket selling platform — perfect for concerts, conferences, and everything in between 🎟️ If you find this project helpful, please consider giving us a star ⭐️
PHP attendize-alternativedoor-managementevent-check-inevent-managementevent-registrationevent-ticketingeventbrite-alternativeeventslaravelopen-sourcephpreactself-hostedsell-ticketssell-tickets-onlineticket-sellingticketing-systemtickettailor-alternativetito-alternative
<?php
namespace HiEvents\Enterprise\Sso\Resources;
use HiEvents\DomainObjects\AccountSsoConnectionDomainObject;
use HiEvents\Resources\BaseResource;
use Illuminate\Http\Request;
/**
* @mixin AccountSsoConnectionDomainObject
*/
class AccountSsoConnectionResource extends BaseResource
{
public function toArray(Request $request): array
{
return [
'id' => $this->getId(),
'provider_key' => $this->getProviderKey(),
/** @var 'OKTA'|'ENTRA'|'GOOGLE_WORKSPACE'|'OIDC' */
'type' => $this->getType(),
'issuer' => $this->getIssuer(),
'client_id' => $this->getClientId(),
'tenant_id' => $this->getTenantId(),
'hosted_domain' => $this->getHostedDomain(),
/** @var 'ACTIVE'|'INACTIVE' */
'status' => $this->getStatus(),
'session_ttl_minutes' => $this->getSessionTtlMinutes(),
'enforce_sso' => $this->getEnforceSso(),
'jit_provisioning_enabled' => $this->getJitProvisioningEnabled(),
'jit_default_role' => $this->getJitDefaultRole(),
'last_tested_at' => $this->getLastTestedAt(),
'created_at' => $this->getCreatedAt(),
];
}
}