Class UpdateAuthMapper


  • @Service
    public class UpdateAuthMapper
    extends Object
    Mapper that updates current context (Xs2aContext) with users' input.
    • Constructor Detail

      • UpdateAuthMapper

        public UpdateAuthMapper()
    • Method Detail

      • updateContext

        public Xs2aContext updateContext​(Xs2aContext context,
                                         de.adorsys.opba.protocol.api.dto.request.authorization.AuthorizationRequest request)
        Due to JsonCustomSerializer, Xs2aContext will always have the type it had started with, for example AccountListXs2aContext will be always properly deserialized.