public static interface

NavBuilder.Login

implements NavBuilder.NavigationStep<B extends NavigationStep<B>>
com.atlassian.bitbucket.nav.NavBuilder.Login

Class Overview

Builds a login URL for the with an option of adding "next" as a query parameter with the current request url or the passed in url

Summary

Public Methods
@Nonnull NavBuilder.Login admin()
Return an URL that will open a login page requiring the admin permission to log-in.
@Nonnull NavBuilder.Login embedded()
Return a login URL that points to the embedded version of the login form, suitable to display in a frame in other applications.
@Nonnull NavBuilder.Login sysadmin()
Return an URL that will open a login page requiring the admin permission to log-in.
[Expand]
Inherited Methods
From interface com.atlassian.bitbucket.nav.NavBuilder.Builder
From interface com.atlassian.bitbucket.nav.NavBuilder.NavigationStep

Public Methods

@Nonnull public NavBuilder.Login admin ()

Return an URL that will open a login page requiring the admin permission to log-in.

Returns
  • login form guarding a resource available to administrators only

@Nonnull public NavBuilder.Login embedded ()

Return a login URL that points to the embedded version of the login form, suitable to display in a frame in other applications.

Returns
  • URL to the embedded login form

@Nonnull public NavBuilder.Login sysadmin ()

Return an URL that will open a login page requiring the admin permission to log-in.

Returns
  • login form guarding a resource available to administrators only