Class: SignInView

SignInView()

Screenshot

new SignInView()

Source:

Extends

  • Backbone.View

Members

redirectQueryString :string

Set a query string that will be added to the redirect URL when the user has logged-in and is returned back to MetacatUI. This can be useful to return back to MetacatUI with additional information about the state of the app when the user left to sign in.
Type:
  • string
Since:
  • 2.15.0
Default Value:
  • ""
Source:
Example
// This example may tell the view that the register citation modal was open when Sign In was clicked
"registerCitation=true"

Methods

getRedirectURL() → {string}

Constructs and returns a string of the URL that the user should return to when they are done signing in. This URL is sent to the DataONE portal service during login, via the `target` URL attribute. The DataONE portal will redirect the user back to the `target` URL when sign in is complete.
Source:
Returns:
Type
string