Skip to content

Create A SecurityTokenValueArgument #20231

@manuelj555

Description

@manuelj555

Hi, I see that the feature #19452 was deprecated.

So, What do you think in favor of create a SecurityTokenValueArgument?

The use case for this is:

public function anyAction(Request $request, TokenInterface $token) {
    $user = $token->getUser();
}

This is useful when the controller does not extends the default base Controller class.

Sorry for my bad english :(

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions