Documentation

Dependencies
in package

Table of Contents

Constants

ENCRYPTION_KEY  = "battis.oauth2.server.encryptionKey"
ENCRYPTION_KEY_DEFUSE  = "defuse"
ENCRYPTION_KEY_PATH_TO_DEFUSE  = "pathToDefuse"
ENCRYPTION_KEY_PATH_TO_STRING  = "pathToString"
ENCRYPTION_KEY_STRING  = "string"
GRANT_TYPES  = "battis.oauth2.server.grantTypes"
PRIVATE_KEY  = "battis.oauth2.server.privateKey"
PUBLIC_KEY  = "battis.oauth2.server.publicKey"
TEMPLATES  = "battis.oauth2.server.templates"
TTL_ACCESS_TOKEN  = "battis.oauth2.server.ttl.accessToken"
TTL_AUTH_CODE  = "battis.oauth2.server.ttl.authCode"
TTL_REFRESH_TOKEN  = "battis.oauth2.server.ttl.refreshToken"

Properties

$pathToApp  : mixed

Methods

definitions()  : array<string|int, mixed>
expandPath()  : mixed
toDateInterval()  : mixed
toKey()  : mixed

Constants

ENCRYPTION_KEY

public mixed ENCRYPTION_KEY = "battis.oauth2.server.encryptionKey"

ENCRYPTION_KEY_DEFUSE

public mixed ENCRYPTION_KEY_DEFUSE = "defuse"

ENCRYPTION_KEY_PATH_TO_DEFUSE

public mixed ENCRYPTION_KEY_PATH_TO_DEFUSE = "pathToDefuse"

ENCRYPTION_KEY_PATH_TO_STRING

public mixed ENCRYPTION_KEY_PATH_TO_STRING = "pathToString"

ENCRYPTION_KEY_STRING

public mixed ENCRYPTION_KEY_STRING = "string"

GRANT_TYPES

public mixed GRANT_TYPES = "battis.oauth2.server.grantTypes"

PRIVATE_KEY

public mixed PRIVATE_KEY = "battis.oauth2.server.privateKey"

PUBLIC_KEY

public mixed PUBLIC_KEY = "battis.oauth2.server.publicKey"

TEMPLATES

public mixed TEMPLATES = "battis.oauth2.server.templates"

TTL_ACCESS_TOKEN

public mixed TTL_ACCESS_TOKEN = "battis.oauth2.server.ttl.accessToken"

TTL_AUTH_CODE

public mixed TTL_AUTH_CODE = "battis.oauth2.server.ttl.authCode"

TTL_REFRESH_TOKEN

public mixed TTL_REFRESH_TOKEN = "battis.oauth2.server.ttl.refreshToken"

Properties

Methods

definitions()

public static definitions([string|DateInterval $authCodeTTL = null ][, string|DateInterval $accessTokenTTL = null ][, string|DateInterval $refreshTokenTTL = null ][, array<string|int, mixed> $grantTypes = [AuthCodeGrant::class, RefreshTokenGrant::class] ][, mixed $privateKey = null ][, mixed $publicKey = null ][, string|Key $encryptionKey = null ][, string $encryptionKeyType = self::ENCRYPTION_KEY_PATH_TO_DEFUSE ][, string $pathToTemplates = "{PACKAGE_ROOT}/templates" ]) : array<string|int, mixed>
Parameters
$authCodeTTL : string|DateInterval = null
$accessTokenTTL : string|DateInterval = null
$refreshTokenTTL : string|DateInterval = null
$grantTypes : array<string|int, mixed> = [AuthCodeGrant::class, RefreshTokenGrant::class]
$privateKey : mixed = null
$publicKey : mixed = null
$encryptionKey : string|Key = null
$encryptionKeyType : string = self::ENCRYPTION_KEY_PATH_TO_DEFUSE
$pathToTemplates : string = "{PACKAGE_ROOT}/templates"
Return values
array<string|int, mixed>

expandPath()

private static expandPath(mixed $path) : mixed
Parameters
$path : mixed

toDateInterval()

private static toDateInterval(mixed $value) : mixed
Parameters
$value : mixed

toKey()

private static toKey(mixed $key, mixed $type) : mixed
Parameters
$key : mixed
$type : mixed

        
On this page

Search results