Beispiel #1
0
        public async Task <ApiResponseDto> Register(RegisterDto registerParameters)
        {
            ApiResponseDto apiResponse = await _authorizeApi.Register(registerParameters);

            NotifyAuthenticationStateChanged(GetAuthenticationStateAsync());
            return(apiResponse);
        }
        public async Task <ApiResponseDto <LoginResponseModel> > Register(RegisterViewModel parameters)
        {
            ApiResponseDto <LoginResponseModel> apiResponse = await _authorizeApi.Register(parameters);

            NotifyAuthenticationStateChanged(GetAuthenticationStateAsync());
            return(apiResponse);
        }
        public async Task Register(RegisterParametersViewModel registerParameters)
        {
            await _authorizeApi.Register(registerParameters);

            NotifyAuthenticationStateChanged(GetAuthenticationStateAsync());
        }
Beispiel #4
0
        public async Task Register(RegisterParameters registerParameters)
        {
            _userInfoCache = await _authorizeApi.Register(registerParameters);

            NotifyAuthenticationStateChanged(GetAuthenticationStateAsync());
        }
 public async Task Register(RegisterParameters registerParameters)
 {
     userInfo = await _authorizeApi.Register(registerParameters);
 }
        public async Task Register(RegisterModel model)
        {
            await _authorizeApi.Register(model);

            NotifyAuthenticationStateChanged(GetAuthenticationStateAsync());
        }
Beispiel #7
0
        public async Task Register(string username, string password)
        {
            await _authorizeApi.Register(username, password);

            UserName = username;
        }
        public async Task Register(RegisterParameters registerParameters)
        {
            userInfo = await _authorizeApi.Register(registerParameters);

            NotifyAuthenticationStateChanged();
        }