示例#1
0
        public Token GetTokenByValue(string tokenValue)
        {
            var token = _tokenDataService.GetTokenByValue(tokenValue);

            if (token == null)
            {
                throw new TokenNotFoundException($"Token not found with token value:{tokenValue}");
            }

            return(token);
        }