Reference
C
Class

ApiPlatform\OpenApi\Model\OAuthFlow

class ApiPlatform\OpenApi\Model\OAuthFlow
{
    public __construct(null|string $authorizationUrl, null|string $tokenUrl, null|string $refreshUrl, null|ArrayObject $scopes)
    public getAuthorizationUrl(): string
    public getTokenUrl(): string
    public getRefreshUrl(): string
    public getScopes(): ArrayObject
    public withAuthorizationUrl(string $authorizationUrl): ApiPlatform\OpenApi\Model\OAuthFlow
    public withTokenUrl(string $tokenUrl): ApiPlatform\OpenApi\Model\OAuthFlow
    public withRefreshUrl(string $refreshUrl): ApiPlatform\OpenApi\Model\OAuthFlow
    public withScopes(ArrayObject $scopes): ApiPlatform\OpenApi\Model\OAuthFlow
    public withExtensionProperty(string $key, $value)
    public getExtensionProperties(): array
}
class ApiPlatform\OpenApi\Model\OAuthFlow
{
    public __construct(null|string $authorizationUrl, null|string $tokenUrl, null|string $refreshUrl, null|ArrayObject $scopes)
    public getAuthorizationUrl(): string
    public getTokenUrl(): string
    public getRefreshUrl(): string
    public getScopes(): ArrayObject
    public withAuthorizationUrl(string $authorizationUrl): ApiPlatform\OpenApi\Model\OAuthFlow
    public withTokenUrl(string $tokenUrl): ApiPlatform\OpenApi\Model\OAuthFlow
    public withRefreshUrl(string $refreshUrl): ApiPlatform\OpenApi\Model\OAuthFlow
    public withScopes(ArrayObject $scopes): ApiPlatform\OpenApi\Model\OAuthFlow
    public withExtensionProperty(string $key, $value)
    public getExtensionProperties(): array
}

Methods

__construct

public __construct(null|string $authorizationUrl, null|string $tokenUrl, null|string $refreshUrl, null|ArrayObject $scopes)
public __construct(null|string $authorizationUrl, null|string $tokenUrl, null|string $refreshUrl, null|ArrayObject $scopes)

Parameters

authorizationUrlstring
tokenUrlstring
refreshUrlstring
scopesArrayObject

getAuthorizationUrl

public getAuthorizationUrl(): string
public getAuthorizationUrl(): string

Returns

string

getTokenUrl

public getTokenUrl(): string
public getTokenUrl(): string

Returns

string

getRefreshUrl

public getRefreshUrl(): string
public getRefreshUrl(): string

Returns

string

getScopes

public getScopes(): ArrayObject
public getScopes(): ArrayObject

Returns

ArrayObject

withAuthorizationUrl

public withAuthorizationUrl(string $authorizationUrl): ApiPlatform\OpenApi\Model\OAuthFlow
public withAuthorizationUrl(string $authorizationUrl): ApiPlatform\OpenApi\Model\OAuthFlow

Parameters

authorizationUrlstring

Returns

ApiPlatform\OpenApi\Model\OAuthFlow

withTokenUrl

public withTokenUrl(string $tokenUrl): ApiPlatform\OpenApi\Model\OAuthFlow
public withTokenUrl(string $tokenUrl): ApiPlatform\OpenApi\Model\OAuthFlow

Parameters

tokenUrlstring

Returns

ApiPlatform\OpenApi\Model\OAuthFlow

withRefreshUrl

public withRefreshUrl(string $refreshUrl): ApiPlatform\OpenApi\Model\OAuthFlow
public withRefreshUrl(string $refreshUrl): ApiPlatform\OpenApi\Model\OAuthFlow

Parameters

refreshUrlstring

Returns

ApiPlatform\OpenApi\Model\OAuthFlow

withScopes

public withScopes(ArrayObject $scopes): ApiPlatform\OpenApi\Model\OAuthFlow
public withScopes(ArrayObject $scopes): ApiPlatform\OpenApi\Model\OAuthFlow

Parameters

scopesArrayObject

Returns

ApiPlatform\OpenApi\Model\OAuthFlow

withExtensionProperty

public withExtensionProperty(string $key, $value)
public withExtensionProperty(string $key, $value)

Parameters

keystring
value

Returns

getExtensionProperties

public getExtensionProperties(): array
public getExtensionProperties(): array

Returns

array

Copyright © 2023 Kévin Dunglas

Sponsored by Les-Tilleuls.coop