Skip to content

Should the IAuthenticationProviderCallback methods return a Negotiator? #155

Open
@PureKrome

Description

@PureKrome

@phillip-haydon bud - now that you've added in a ViewRenderer and Negotiator into the core Nancy with commit dabe211.... , should I be using the Negotiator for the return type instead of a ViewRenderer?

eg.

Negotiator Process(NancyModule nancyModule, AuthenticateCallbackResult result);

The 2x methods in this class can return various things. Generally -> a View to display some html or a Redirect (eg. 301 or 302).

Because it can return a redirect, i'm thinking that i need it to return a Negotiator, right?

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions