Discord Eraser Bot

SessionContext
in package

Read onlyYes
FinalYes

Table of Contents

Constants

AUTHORIZED_GUILDS  = 'authorized_guilds'
POST_AUTHENTICATION_REDIRECT_ROUTE_NAME  = 'post_authentication_redirect_route_name'
POST_AUTHENTICATION_REDIRECT_ROUTE_PARAMS  = 'post_authentication_redirect_route_params'
USER_INFO  = 'user_info'

Properties

$denormalizer  : DenormalizerInterface
$normalizer  : NormalizerInterface
$requestStack  : RequestStack
$router  : RouterInterface

Methods

__construct()  : mixed
getAuthorizedGuilds()  : array<string, PartialGuild>
getPostAuthenticationRedirectResponse()  : RedirectResponse
getUserInfo()  : UserInfo
setAuthorizedGuilds()  : void
setPostAuthenticationRedirectResponse()  : void
setUserInfo()  : void
getSession()  : SessionInterface

Constants

AUTHORIZED_GUILDS

private mixed AUTHORIZED_GUILDS = 'authorized_guilds'

POST_AUTHENTICATION_REDIRECT_ROUTE_NAME

private mixed POST_AUTHENTICATION_REDIRECT_ROUTE_NAME = 'post_authentication_redirect_route_name'

POST_AUTHENTICATION_REDIRECT_ROUTE_PARAMS

private mixed POST_AUTHENTICATION_REDIRECT_ROUTE_PARAMS = 'post_authentication_redirect_route_params'

Properties

Methods

__construct()

public __construct(RequestStack $requestStack, RouterInterface $router, NormalizerInterface $normalizer, DenormalizerInterface $denormalizer) : mixed
Parameters
$requestStack : RequestStack
$router : RouterInterface
$normalizer : NormalizerInterface
$denormalizer : DenormalizerInterface

getPostAuthenticationRedirectResponse()

public getPostAuthenticationRedirectResponse() : RedirectResponse
Return values
RedirectResponse

setPostAuthenticationRedirectResponse()

public setPostAuthenticationRedirectResponse(string $routeName, array<string|int, mixed> $routeParams) : void
Parameters
$routeName : string
$routeParams : array<string|int, mixed>

setUserInfo()

public setUserInfo(DiscordResourceOwner $discordResourceOwner) : void
Parameters
$discordResourceOwner : DiscordResourceOwner

getSession()

private getSession() : SessionInterface
Return values
SessionInterface

        
On this page

Search results