public interface

Authentication

com.atlassian.bitbucket.auth.Authentication

Class Overview

The authentication details including the user and any properties provided during authentication.

Summary

Fields
public static final Authentication ANONYMOUS
Public Methods
@Nonnull Map<String, Serializable> getProperties()
@Nonnull Optional<ApplicationUser> getUser()

Fields

public static final Authentication ANONYMOUS

Public Methods

@Nonnull public Map<String, Serializable> getProperties ()

Returns
  • the authentication properties provided by the authenticator that authenticated the user. Can be empty, but never null.

@Nonnull public Optional<ApplicationUser> getUser ()

Returns
  • The authenticated user