Skip to content

Commit

Permalink
Add parameters to IntrospectionRequestValidationResult - IdentityServ…
Browse files Browse the repository at this point in the history
  • Loading branch information
Kahbazi committed Aug 4, 2018
1 parent 4d14d3a commit 50e412f
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions src/Validation/Default/IntrospectionRequestValidator.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.


Expand Down Expand Up @@ -49,7 +49,8 @@ public async Task<IntrospectionRequestValidationResult> ValidateAsync(NameValueC
{
IsError = true,
Api = api,
Error = "missing_token"
Error = "missing_token",
Parameters = parameters
};
}

Expand All @@ -66,7 +67,8 @@ public async Task<IntrospectionRequestValidationResult> ValidateAsync(NameValueC
IsActive = false,
IsError = false,
Token = token,
Api = api
Api = api,
Parameters = parameters
};
}

Expand All @@ -79,7 +81,8 @@ public async Task<IntrospectionRequestValidationResult> ValidateAsync(NameValueC
IsError = false,
Token = token,
Claims = tokenValidationResult.Claims,
Api = api
Api = api,
Parameters = parameters
};
}
}
Expand Down

0 comments on commit 50e412f

Please sign in to comment.