Search in sources :

Example 1 with StepikAbstractAction

use of org.stepik.api.actions.StepikAbstractAction in project intellij-plugins by StepicOrg.

the class AbstractAuthorizationPostQuery method execute.

@NotNull
@Override
public TokenInfo execute() {
    TokenInfo tokenInfo = super.execute();
    StepikAbstractAction action = getStepikAction();
    action.getStepikApiClient().setTokenInfo(tokenInfo);
    return tokenInfo;
}
Also used : TokenInfo(org.stepik.api.objects.auth.TokenInfo) StepikAbstractAction(org.stepik.api.actions.StepikAbstractAction) NotNull(org.jetbrains.annotations.NotNull)

Aggregations

NotNull (org.jetbrains.annotations.NotNull)1 StepikAbstractAction (org.stepik.api.actions.StepikAbstractAction)1 TokenInfo (org.stepik.api.objects.auth.TokenInfo)1