play-v29/src/sbt-test/example/webapp/app/views/authenticated.scala.html [1:22]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @(request: play.api.mvc.Security.AuthenticatedRequest[AnyContent, com.gu.googleauth.UserIdentity], error: Option[String] = None) @import java.time.Instant Authorised

Authorised

This is an authorised page of the example application.

It uses an AuthAction so will always have a user.

In this case the logged in user is @request.user.username.

@request.user.avatarUrl.map { avatarUrl =>

@request.user.firstName

}

The expiry time is @{Instant.ofEpochSecond(request.user.exp)}

You can go to the login page or logout.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - play-v30/src/sbt-test/example/webapp/app/views/authenticated.scala.html [1:22]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @(request: play.api.mvc.Security.AuthenticatedRequest[AnyContent, com.gu.googleauth.UserIdentity], error: Option[String] = None) @import java.time.Instant Authorised

Authorised

This is an authorised page of the example application.

It uses an AuthAction so will always have a user.

In this case the logged in user is @request.user.username.

@request.user.avatarUrl.map { avatarUrl =>

@request.user.firstName

}

The expiry time is @{Instant.ofEpochSecond(request.user.exp)}

You can go to the login page or logout.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -