Show / Hide Table of Contents

Method CheckOAuthRedirectionActivation

| Edit this page View Source

CheckOAuthRedirectionActivation(bool)

Performs an OAuth protocol activation check and redirects activation to the correct application instance.

Declaration
public static bool CheckOAuthRedirectionActivation(bool skipShutDownOnActivation = false)
Parameters
Type Name Description
bool skipShutDownOnActivation

If true, this application instance will not automatically be shut down. If set to true ensure you handle instance exit, or you'll end up with multiple instances running.

Returns
Type Description
bool

true if the activation was redirected and this instance should be shut down, otherwise false.

Remarks

The call to this method should be done preferably in the Program.Main method, or the application constructor. It must be called prior to using AuthenticateAsync(Uri, Uri, CancellationToken)

See Also
AuthenticateAsync(Uri, Uri, CancellationToken)
| Edit this page View Source

CheckOAuthRedirectionActivation(AppActivationArguments?, bool)

Performs an OAuth protocol activation check and redirects activation to the correct application instance.

Declaration
public static bool CheckOAuthRedirectionActivation(AppActivationArguments? activatedEventArgs, bool skipShutDownOnActivation = false)
Parameters
Type Name Description
AppActivationArguments activatedEventArgs

The activation arguments

bool skipShutDownOnActivation

If true, this application instance will not automatically be shut down. If set to true ensure you handle instance exit, or you'll end up with multiple instances running.

Returns
Type Description
bool

true if the activation was redirected and this instance should be shut down, otherwise false.

Remarks

The call to this method should be done preferably in the Program.Main method, or the application constructor. It must be called prior to using AuthenticateAsync(Uri, Uri, CancellationToken)

See Also
AuthenticateAsync(Uri, Uri, CancellationToken)
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX